mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
c57d51f1ab
No longer applies and we don't test anymore anyway.
35 lines
790 B
Nix
35 lines
790 B
Nix
{ lib, buildPythonPackage, fetchPypi, setuptools_scm
|
|
, inflect, more-itertools, six, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco.itertools";
|
|
version = "6.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "6939e47806a39330a9f9772bf9ea910da39abc159ff2579d454a763358553439";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|