depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco_itertools/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
697 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools_scm
, inflect, more-itertools, six, pytest
}:
buildPythonPackage rec {
pname = "jaraco.itertools";
version = "4.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "0zxx8ffk5ycapy2d41dfgzskl5jfwjc10hsd91jsrax5alkhrh7x";
};
patches = [ ./0001-Don-t-run-flake8-checks-during-the-build.patch ];
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ inflect more-itertools six ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Tools for working with iterables";
homepage = "https://github.com/jaraco/jaraco.itertools";
license = licenses.mit;
};
}