diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-01-18 16:50:57 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-01-18 16:50:57 +0100 |
commit | c48b43cacc61f6f115c3ee0e1b5fd0cc9c861933 (patch) | |
tree | 7d847949c6675789faed6a1bdf2379428329012d /pkgs/development/python-modules | |
parent | 59f4d5d8a27f6c07eed7c1b7be85a210afcbc82b (diff) | |
download | nixlib-c48b43cacc61f6f115c3ee0e1b5fd0cc9c861933.tar nixlib-c48b43cacc61f6f115c3ee0e1b5fd0cc9c861933.tar.gz nixlib-c48b43cacc61f6f115c3ee0e1b5fd0cc9c861933.tar.bz2 nixlib-c48b43cacc61f6f115c3ee0e1b5fd0cc9c861933.tar.lz nixlib-c48b43cacc61f6f115c3ee0e1b5fd0cc9c861933.tar.xz nixlib-c48b43cacc61f6f115c3ee0e1b5fd0cc9c861933.tar.zst nixlib-c48b43cacc61f6f115c3ee0e1b5fd0cc9c861933.zip |
python.pkgs.jaraco_itertools: add meta and run tests
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/jaraco_itertools/default.nix | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/jaraco_itertools/default.nix b/pkgs/development/python-modules/jaraco_itertools/default.nix index 78bbf1a7ccf4..249054581fab 100644 --- a/pkgs/development/python-modules/jaraco_itertools/default.nix +++ b/pkgs/development/python-modules/jaraco_itertools/default.nix @@ -1,14 +1,26 @@ -{ buildPythonPackage, fetchPypi, setuptools_scm -, inflect, more-itertools, six }: +{ lib, buildPythonPackage, fetchPypi, setuptools_scm +, inflect, more-itertools, six, pytest, pytest-flake8 }: buildPythonPackage rec { pname = "jaraco.itertools"; version = "4.0.0"; + src = fetchPypi { inherit pname version; sha256 = "1d09zpi593bhr56rwm41kzffr18wif98plgy6xdy0zrbdwfarrxl"; }; - doCheck = false; + buildInputs = [ setuptools_scm ]; propagatedBuildInputs = [ inflect more-itertools six ]; + checkInputs = [ pytest pytest-flake8 ]; + + checkPhase = '' + pytest + ''; + + meta = with lib; { + description = "Tools for working with iterables"; + homepage = https://github.com/jaraco/jaraco.itertools; + license = licenses.mit; + }; } |