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

30 lines
596 B
Nix
Raw Normal View History

2021-03-06 20:48:17 +00:00
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "parts";
2021-12-03 07:52:03 +00:00
version = "1.2.0";
format = "setuptools";
2021-03-06 20:48:17 +00:00
src = fetchPypi {
inherit pname version;
2021-12-03 07:52:03 +00:00
sha256 = "sha256-sfeh6KdprW40ZgfItm9oojDlrI4X29+O7pzfafIawB0=";
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 ];
};
}