Created
July 4, 2017 14:42
-
-
Save exarkun/08f95bc6bef7afee5fecc54a01361568 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# let | |
# remove = element: list: builtins.filter (x: x != element) list; | |
# pbr = pkgs: list: list ++ [ pkgs.pythonPackages.pbr ]; | |
# in | |
{ pkgs, python }: | |
# remove Twisted from Automat.propagatedBuildInputs | |
# remove Twisted from incremental.propagatedBuildInputs | |
# remove fixtures from testtools.propagatedBuildInputs | |
# remove pyutil from zbase32 propagatedBuildInputs | |
# remove unittest2 from | |
# mock oauthlib testtools | |
# replace pbr in propagatedBuildInputs for | |
# fixtures mock testtools | |
self: super: { | |
"Automat" = python.overrideDerivation super."Automat" (old: { | |
propagatedBuildInputs = [ | |
self."attrs" | |
self."six" | |
]; | |
}); | |
"incremental" = python.overrideDerivation super."incremental" (old: { | |
propagatedBuildInputs = [ | |
]; | |
}); | |
"testtools" = python.overrideDerivation super."testtools" (old: { | |
propagatedBuildInputs = [ | |
pkgs.pythonPackages.pbr | |
self."extras" | |
self."pbr" | |
self."python-mimeparse" | |
self."six" | |
self."traceback2" | |
]; | |
}); | |
"zbase32" = python.overrideDerivation super."zbase32" (old: { | |
propagatedBuildInputs = [ | |
]; | |
}); | |
"mock" = python.overrideDerivation super."mock" (old: { | |
propagatedBuildInputs = [ | |
pkgs.pythonPackages.pbr | |
self."Jinja2" | |
self."Pygments" | |
self."funcsigs" | |
self."six" | |
]; | |
}); | |
"oauthlib" = python.overrideDerivation super."oauthlib" (old: { | |
propagatedBuildInputs = [ | |
self."blinker" | |
self."cryptography" | |
self."mock" | |
]; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment