lol

python3Packages.cacheyou: init at 23.3

+64
+62
pkgs/development/python-modules/cacheyou/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , cherrypy 4 + , fetchPypi 5 + , filelock 6 + , msgpack 7 + , pdm-backend 8 + , pytestCheckHook 9 + , pythonOlder 10 + , redis 11 + , requests 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "cacheyou"; 16 + version = "23.3"; 17 + format = "pyproject"; 18 + 19 + disabled = pythonOlder "3.7"; 20 + 21 + __darwinAllowLocalNetworking = true; 22 + 23 + src = fetchPypi { 24 + inherit pname version; 25 + hash = "sha256-fkCPFfSXj+oiR3NLMIYh919/4Wm0YWeVGccuioXWHV0="; 26 + }; 27 + 28 + nativeBuildInputs = [ 29 + pdm-backend 30 + ]; 31 + 32 + propagatedBuildInputs = [ 33 + msgpack 34 + requests 35 + ]; 36 + 37 + passthru.optional-dependencies = { 38 + filecache = [ 39 + filelock 40 + ]; 41 + redis = [ 42 + redis 43 + ]; 44 + }; 45 + 46 + nativeCheckInputs = [ 47 + cherrypy 48 + pytestCheckHook 49 + ] ++ passthru.optional-dependencies.filecache; 50 + 51 + pythonImportsCheck = [ 52 + "cacheyou" 53 + ]; 54 + 55 + meta = { 56 + description = "The httplib2 caching algorithms packaged up for use with requests"; 57 + homepage = "https://github.com/frostming/cacheyou"; 58 + changelog = "https://github.com/frostming/cacheyou/releases/tag/${version}"; 59 + license = lib.licenses.asl20; 60 + maintainers = with lib.maintainers; [ natsukium ]; 61 + }; 62 + }
+2
pkgs/top-level/python-packages.nix
··· 1579 1579 1580 1580 cachey = callPackage ../development/python-modules/cachey { }; 1581 1581 1582 + cacheyou = callPackage ../development/python-modules/cacheyou { }; 1583 + 1582 1584 cachy = callPackage ../development/python-modules/cachy { }; 1583 1585 1584 1586 cadquery = callPackage ../development/python-modules/cadquery {