tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
pypass: migrate to pythonRelaxDepsHook
Peder Bergebakken Sundt
1 year ago
9869d487
d5fdf0d7
+3
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pypass
default.nix
+3
-3
pkgs/development/python-modules/pypass/default.nix
···
42
42
];
43
43
44
44
# Remove enum34 requirement if Python >= 3.4
45
45
-
postPatch = lib.optionalString (pythonAtLeast "3.4") ''
46
46
-
substituteInPlace requirements.txt --replace "enum34" ""
47
47
-
'';
45
45
+
pythonRemoveDeps = lib.optionals (pythonAtLeast "3.4") [
46
46
+
"enum34"
47
47
+
];
48
48
49
49
build-system = [ setuptools ];
50
50