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