summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-utils
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2017-10-21 04:12:01 +0300
committerNikolay Amiantov <ab@fmap.me>2017-10-22 04:18:23 +0300
commit3264001a9d05a3c472a41b4bd1b93f2b96e48a26 (patch)
tree836d9a80c1e6d8a8c30837ab3e0a513ab673b31c /pkgs/development/python-modules/python-utils
parent1b2cc71e686122644b8efe926f241eafbb045e2a (diff)
downloadnixlib-3264001a9d05a3c472a41b4bd1b93f2b96e48a26.tar
nixlib-3264001a9d05a3c472a41b4bd1b93f2b96e48a26.tar.gz
nixlib-3264001a9d05a3c472a41b4bd1b93f2b96e48a26.tar.bz2
nixlib-3264001a9d05a3c472a41b4bd1b93f2b96e48a26.tar.lz
nixlib-3264001a9d05a3c472a41b4bd1b93f2b96e48a26.tar.xz
nixlib-3264001a9d05a3c472a41b4bd1b93f2b96e48a26.tar.zst
nixlib-3264001a9d05a3c472a41b4bd1b93f2b96e48a26.zip
python.pkgs.python-utils: init at 2.2.0
Diffstat (limited to 'pkgs/development/python-modules/python-utils')
-rw-r--r--pkgs/development/python-modules/python-utils/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-utils/default.nix b/pkgs/development/python-modules/python-utils/default.nix
new file mode 100644
index 000000000000..6acd0934f471
--- /dev/null
+++ b/pkgs/development/python-modules/python-utils/default.nix
@@ -0,0 +1,28 @@
+{ lib, buildPythonPackage, fetchFromGitHub, pytest, pytestrunner, pytestcov, pytestflakes, pytestpep8, sphinx, six }:
+
+buildPythonPackage rec {
+  name = "python-utils-${version}";
+  version = "2.2.0";
+
+  src = fetchFromGitHub {
+    owner = "WoLpH";
+    repo = "python-utils";
+    rev = "v${version}";
+    sha256 = "1i3q9frai08nvrcmh4dg4rr0grncm68w2c097z5g1mfwdf9sv7df";
+  };
+
+  checkInputs = [ pytest pytestrunner pytestcov pytestflakes pytestpep8 sphinx ];
+
+  checkPhase = ''
+    rm nix_run_setup.py
+    py.test
+  '';
+
+  propagatedBuildInputs = [ six ];
+
+  meta = with lib; {
+    description = "Module with some convenient utilities";
+    homepage = "https://github.com/WoLpH/python-utils";
+    license = licenses.bsd3;
+  };
+}