1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, setuptools
6, wheel
7}:
8
9buildPythonPackage rec {
10 pname = "parts";
11 version = "1.7.0";
12 format = "pyproject";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-TbcFgWKKgHXFyi1NqwVy1ITGHESb4ZusivOpFWazN1s=";
19 };
20
21 nativeBuildInputs = [
22 setuptools
23 wheel
24 ];
25
26 # Project has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "parts"
31 ];
32
33 meta = with lib; {
34 description = "Library for common list functions related to partitioning lists";
35 homepage = "https://github.com/lapets/parts";
36 license = with licenses; [ mit ];
37 maintainers = with maintainers; [ fab ];
38 };
39}