nixpkgs/pkgs/development/python-modules/parts/default.nix

30 lines
609 B
Nix
Raw Normal View History

2021-03-06 20:48:17 +00:00
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "parts";
2021-12-06 11:21:55 +00:00
version = "1.2.2";
2021-12-03 07:52:03 +00:00
format = "setuptools";
2021-03-06 20:48:17 +00:00
src = fetchPypi {
inherit pname version;
2021-12-06 11:21:55 +00:00
sha256 = "6463d5c49142d14029196a6a781b57bc98ba5b3d93244f4ed637f534d08129c1";
2021-03-06 20:48:17 +00:00
};
# Project has no tests
doCheck = false;
2021-12-03 07:52:03 +00:00
pythonImportsCheck = [
"parts"
];
2021-03-06 20:48:17 +00:00
meta = with lib; {
description = "Python library for common list functions related to partitioning lists";
homepage = "https://github.com/lapets/parts";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}