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