2023-03-26 18:47:11 +11:00
|
|
|
{
|
|
|
|
description = "";
|
|
|
|
|
|
|
|
# Also consider nixpkgs/nixos-[RELEASE]
|
|
|
|
inputs.nixpkgs.url = "github:nixos/nixpkgs";
|
|
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
|
|
flake-utils.lib.eachDefaultSystem
|
|
|
|
(system:
|
|
|
|
let pkgs = import nixpkgs { inherit system; }; in {
|
|
|
|
devShells.default = pkgs.mkShellNoCC {
|
|
|
|
buildInputs =
|
|
|
|
let
|
|
|
|
python = pkgs.python3.withPackages (ps: [
|
2023-04-07 10:01:57 +10:00
|
|
|
ps.discordpy
|
2023-03-26 18:47:11 +11:00
|
|
|
ps.requests
|
|
|
|
]);
|
|
|
|
in
|
2023-04-26 17:01:02 +10:00
|
|
|
[
|
|
|
|
pkgs.nodejs
|
|
|
|
python
|
|
|
|
pkgs.sqlite
|
|
|
|
];
|
2023-03-26 18:47:11 +11:00
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|