forked from nix-community/pypi2nix-overrides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoverrides.nix
31 lines (21 loc) · 959 Bytes
/
overrides.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
{ pkgs, python }:
with pkgs.lib;
with builtins;
self: super:
let filterValid = filterAttrs (name: value: hasAttr name super);
in filterValid {
"mccabe" = super."mccabe".overrideDerivation
(old: { buildInputs = old.buildInputs ++ [ self."pytest-runner" ]; });
"py" = super."py".overrideDerivation
(old: { buildInputs = old.buildInputs ++ [ self."setuptools-scm" ]; });
"pytest-django" = super."pytest-django".overrideDerivation
(old: { buildInputs = old.buildInputs ++ [ self."setuptools-scm" ]; });
"setuptools" = super."setuptools".overrideDerivation
(old: { pipInstallFlags = [ "--ignore-installed" ]; });
"pip" = super."pip".overrideDerivation
(old: { pipInstallFlags = [ "--ignore-installed" ]; });
"wheel" = super."wheel".overrideDerivation
(old: { pipInstallFlags = [ "--ignore-installed" ]; });
"zipp" = super."zipp".overrideDerivation
(old: { buildInputs = old.buildInputs ++ [ self."toml" ]; });
}