nixpkgs/pkgs/development/python-modules/parts/default.nix
2022-06-21 07:53:21 +00:00

33 lines
643 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "parts";
version = "1.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Qs6+3dWG5sjSmeQiL/Q2evn5TImEX0Yk/nCIe5uIMp4=";
};
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"parts"
];
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 ];
};
}