diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-10-21 04:12:01 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-10-22 04:18:23 +0300 |
commit | 3264001a9d05a3c472a41b4bd1b93f2b96e48a26 (patch) | |
tree | 836d9a80c1e6d8a8c30837ab3e0a513ab673b31c /pkgs/development/python-modules/python-utils | |
parent | 1b2cc71e686122644b8efe926f241eafbb045e2a (diff) | |
download | nixlib-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.nix | 28 |
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; + }; +} |