Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.0.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "9fedc4be3117512ca3e03e1b2ffa7a6a6ffa589bfb7d02bfb324e55d493b94f4"; 12 }; 13 14 nativeBuildInputs = [ setuptools_scm toml ]; 15 16 propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ]; 17 18 doCheck = false; 19 20 meta = with lib; { 21 description = "Additional functools in the spirit of stdlib's functools"; 22 homepage = "https://github.com/jaraco/jaraco.functools"; 23 license = licenses.mit; 24 }; 25}