30 lines
803 B
Nix
30 lines
803 B
Nix
{
|
|
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: [
|
|
ps.mypy
|
|
ps.requests
|
|
ps.types-requests
|
|
]);
|
|
in
|
|
[
|
|
python
|
|
pkgs.sqlite
|
|
python.pkgs.python-lsp-server
|
|
python.pkgs.pylsp-mypy
|
|
];
|
|
};
|
|
});
|
|
}
|