about summary refs log tree commit diff
path: root/pkgs/development/python-modules/docrep
diff options
context:
space:
mode:
authorChristopher Ostrouchov <chris.ostrouchov@gmail.com>2018-08-08 04:53:28 -0400
committerRobert Schütz <rschuetz17@gmail.com>2018-08-08 10:53:28 +0200
commitc2e7a20f34e9af65aa61bbb30f5e4fbd18fb8025 (patch)
tree5c3ad5c49583ea0882d9be18830c96f1d7be04d7 /pkgs/development/python-modules/docrep
parent542b8ed58971c70f3d7c43f8333cb5cd7a4fd411 (diff)
pythonPackages.docrep: init at 0.2.3 (#44665)
Diffstat (limited to 'pkgs/development/python-modules/docrep')
-rw-r--r--pkgs/development/python-modules/docrep/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/docrep/default.nix b/pkgs/development/python-modules/docrep/default.nix
new file mode 100644
index 0000000000000..e2bde245a6785
--- /dev/null
+++ b/pkgs/development/python-modules/docrep/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytest
+, six
+}:
+
+buildPythonPackage rec {
+  pname = "docrep";
+  version = "0.2.3";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "7d195b6dfcf4efe5cb65402b6c6f6d7e6db77ce255887fae32c9a8288a022659";
+  };
+
+  checkInputs = [ pytest ];
+  propagatedBuildInputs = [ six ];
+
+  checkPhase = ''
+    py.test
+  '';
+
+  # tests not packaged with PyPi download
+  doCheck = false;
+
+  meta = {
+    description = "Python package for docstring repetition";
+    homepage = https://github.com/Chilipp/docrep;
+    license = lib.licenses.gpl2;
+    maintainers = with lib.maintainers; [ costrouc ];
+  };
+}