]> git.scottworley.com Git - pinch/commitdiff
shell.nix
authorScott Worley <scottworley@scottworley.com>
Sat, 23 May 2020 00:07:01 +0000 (17:07 -0700)
committerScott Worley <scottworley@scottworley.com>
Sat, 23 May 2020 00:07:01 +0000 (17:07 -0700)
shell.nix [new file with mode: 0644]

diff --git a/shell.nix b/shell.nix
new file mode 100644 (file)
index 0000000..b408ea4
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,10 @@
+{ pkgs ? import <nixpkgs> { } }:
+pkgs.mkShell rec {
+  doCheck = true;
+  buildInputs = with pkgs; [ python3 ];
+  checkInputs = with pkgs; [
+    mypy
+    python3Packages.autopep8
+    python3Packages.pylint
+  ];
+}