-
Notifications
You must be signed in to change notification settings - Fork 826
/
Copy pathoverlay.nix
92 lines (87 loc) · 3.52 KB
/
overlay.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
(self0: super0:
let
myOverride = {
packageOverrides = self: super: {
"parliament" = super.buildPythonPackage rec {
pname = "parliament";
version = "1.5.2";
src = super0.fetchurl {
url =
"https://files.pythonhosted.org/packages/ab/a8/47e63d872a4cbe4d48fb6d2df08ebf87c7feb1b8349030b180a0782299eb/parliament-1.5.2-py3-none-any.whl";
sha256 =
"1d8j51429df7j1abqsgakwidcq4w4yn0aisfs6vdsnxqz5744l0r";
};
format = "wheel";
doCheck = false;
buildInputs = [ ];
checkInputs = [ ];
nativeBuildInputs = [ ];
propagatedBuildInputs = [
super.pyyaml
super.boto3
super.jmespath
self."json-cfg"
self.setuptools
];
};
"json-cfg" = super.buildPythonPackage rec {
pname = "json-cfg";
version = "0.4.2";
src = super0.fetchurl {
url =
"https://files.pythonhosted.org/packages/b7/f5/ecdfc00830bcbaf7743f0237cf4f3ced5511d57257408db01aa320e09458/json_cfg-0.4.2-py2.py3-none-any.whl";
sha256 =
"1j0nnx48srkhvs7ibb6r1jwzvgvj268cqq07cpxbscvigaix1j3h";
};
format = "wheel";
doCheck = false;
buildInputs = [ ];
checkInputs = [ ];
nativeBuildInputs = [ ];
propagatedBuildInputs = [ self."kwonly-args" ];
};
"kwonly-args" = super.buildPythonPackage rec {
pname = "kwonly-args";
version = "1.0.10";
src = super0.fetchurl {
url =
"https://files.pythonhosted.org/packages/00/37/3251dc1c11f5e9c4b8fb1b3f433da4b55ec52e3fe5c14b13a2a558990260/kwonly_args-1.0.10-py2.py3-none-any.whl";
sha256 =
"1jz1f977lfd639my2xqjd9yndgkg0hxhb8rdlwzw0g8i077nrkiy";
};
format = "wheel";
doCheck = false;
buildInputs = [ ];
checkInputs = [ ];
nativeBuildInputs = [ ];
propagatedBuildInputs = [ ];
};
pyjq = super.buildPythonPackage rec {
pname = "pyjq";
version = "2.6.0";
src = super.fetchPypi {
inherit pname version;
sha256 =
"e083f326f4af8b07b8ca6424d1f99afbdd7db9b727284da5f919b9816077f2e4";
};
format = "setuptools";
doCheck = false;
buildInputs = [ ];
checkInputs = [ ];
nativeBuildInputs = [
super0.libtool
super0.automake
super0.autoconf
super0.pkg-config
];
propagatedBuildInputs = [ ];
};
};
};
in {
# Add an override for each required python version.
# There’s currently no way to add a package that’s automatically picked up by
# all python versions, besides editing python-packages.nix
python3 = super0.python3.override myOverride;
python311 = super0.python311.override myOverride;
})