pythonPackages.cairocffi: support 1.0 and 0.9
This patch ensures that Python2 can be used if cairocffi is used. Version 1.0 dropped Python 2 support.
This commit is contained in:
committed by
Robert Schütz
parent
8dac864470
commit
e878fd6f5f
@@ -1311,7 +1311,10 @@ in {
|
||||
|
||||
canmatrix = callPackage ../development/python-modules/canmatrix {};
|
||||
|
||||
cairocffi = callPackage ../development/python-modules/cairocffi {};
|
||||
|
||||
cairocffi = let
|
||||
inherit (callPackage ../development/python-modules/cairocffi {}) cairocffi_1_0 cairocffi_0_9;
|
||||
in if isPy3k then cairocffi_1_0 else cairocffi_0_9;
|
||||
|
||||
cairosvg1 = callPackage ../development/python-modules/cairosvg/1_x.nix {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user