depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco_itertools/default.nix
Default email 556d6f0562 Project import generated by Copybara.
GitOrigin-RevId: e4ef597edfd8a0ba5f12362932fc9b1dd01a0aef
2021-10-11 18:52:03 +02:00

34 lines
790 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools-scm
, inflect, more-itertools, six, pytest
}:
buildPythonPackage rec {
pname = "jaraco.itertools";
version = "6.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1775bfcad5de275a540a36720c5ab34594ea1dbe7ffefa32099b0129c5604608";
};
pythonNamespaces = [ "jaraco" ];
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ inflect more-itertools six ];
checkInputs = [ pytest ];
# tests no longer available through pypi
doCheck = false;
checkPhase = ''
pytest
'';
pythonImportsCheck = [ "jaraco.itertools" ];
meta = with lib; {
description = "Tools for working with iterables";
homepage = "https://github.com/jaraco/jaraco.itertools";
license = licenses.mit;
};
}