5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
36 lines
831 B
Nix
36 lines
831 B
Nix
{ lib, buildPythonPackage, fetchPypi, setuptools-scm
|
|
, inflect, more-itertools, six, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco-itertools";
|
|
version = "6.2.1";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "jaraco.itertools";
|
|
inherit version;
|
|
hash = "sha256-YJjts3xrgCPzeU1CWIoTv3WyygK0D/l5XIRry+DBtGw=";
|
|
};
|
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [ inflect more-itertools six ];
|
|
nativeCheckInputs = [ 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;
|
|
};
|
|
}
|