1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "parts";
10 version = "4.0.0";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-uw/bo+Y24KIgKH+hfc4iUboH8jJKeaoQGHBv6KjZixU=";
16 };
17
18 build-system = [ setuptools ];
19
20 # Project has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "parts" ];
24
25 meta = with lib; {
26 description = "Library for common list functions related to partitioning lists";
27 homepage = "https://github.com/lapets/parts";
28 changelog = "https://github.com/lapets/parts/releases/tag/${version}";
29 license = licenses.mit;
30 maintainers = with maintainers; [ fab ];
31 };
32}