holy-heck-i-really-like-stats/flake.nix

31 lines
834 B
Nix
Raw Permalink Normal View History

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
ps.mypy
2023-03-26 18:47:11 +11:00
ps.requests
ps.types-requests
2023-03-26 18:47:11 +11:00
]);
in
[
python
pkgs.sqlite
python.pkgs.python-lsp-server
python.pkgs.pylsp-mypy
];
2023-03-26 18:47:11 +11:00
};
});
}