Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 27 lines 699 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, setuptools_scm, toml 3, more-itertools, backports_functools_lru_cache }: 4 5buildPythonPackage rec { 6 pname = "jaraco.functools"; 7 version = "3.2.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "97cf88b46ab544c266e2d81fa17bb183622268722a7dd1a3711ea426e9c26f94"; 12 }; 13 14 nativeBuildInputs = [ setuptools_scm toml ]; 15 16 propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ]; 17 18 doCheck = false; 19 20 pythonNamespaces = [ "jaraco" ]; 21 22 meta = with lib; { 23 description = "Additional functools in the spirit of stdlib's functools"; 24 homepage = "https://github.com/jaraco/jaraco.functools"; 25 license = licenses.mit; 26 }; 27}