about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-11-27 15:08:07 -0500
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-11-28 07:38:00 -0500
commit0549e307a52a8d3f17a0e2e821501a6f4e92f80f (patch)
tree1538722e410312612d566503ab97c75a74041ed9
parent0b7522d0f66cfc11a54b79d48435abcc8a4f7db5 (diff)
downloadnixlib-0549e307a52a8d3f17a0e2e821501a6f4e92f80f.tar
nixlib-0549e307a52a8d3f17a0e2e821501a6f4e92f80f.tar.gz
nixlib-0549e307a52a8d3f17a0e2e821501a6f4e92f80f.tar.bz2
nixlib-0549e307a52a8d3f17a0e2e821501a6f4e92f80f.tar.lz
nixlib-0549e307a52a8d3f17a0e2e821501a6f4e92f80f.tar.xz
nixlib-0549e307a52a8d3f17a0e2e821501a6f4e92f80f.tar.zst
nixlib-0549e307a52a8d3f17a0e2e821501a6f4e92f80f.zip
pythonPackages.pytest-mypy: init at 0.3.2
-rw-r--r--pkgs/development/python-modules/pytest-mypy/default.nix25
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-mypy/default.nix b/pkgs/development/python-modules/pytest-mypy/default.nix
new file mode 100644
index 000000000000..09d79b337919
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-mypy/default.nix
@@ -0,0 +1,25 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytest
+, mypy
+}:
+
+buildPythonPackage rec {
+  pname = "pytest-mypy";
+  version = "0.3.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "acc653210e7d8d5c72845a5248f00fd33f4f3379ca13fe56cfc7b749b5655c3e";
+  };
+
+  propagatedBuildInputs = [ pytest mypy ];
+
+  meta = with lib; {
+    description = "Mypy static type checker plugin for Pytest";
+    homepage = https://github.com/dbader/pytest-mypy;
+    license = licenses.mit;
+    maintainers = [ maintainers.costrouc ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index a60ef2eab90b..deebe8dd92a4 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -623,6 +623,8 @@ in {
 
   pytesseract = callPackage ../development/python-modules/pytesseract { };
 
+  pytest-mypy = callPackage ../development/python-modules/pytest-mypy { };
+
   pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
 
   python-binance = callPackage ../development/python-modules/python-binance { };