mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
27 lines
652 B
Nix
27 lines
652 B
Nix
{ 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";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|