forked from mirrors/nixpkgs
zeitgeist: switch to Python 3
This commit is contained in:
parent
4d61e42de4
commit
9aaad83e43
|
@ -15,7 +15,7 @@
|
|||
, json-glib
|
||||
, librdf_raptor2
|
||||
, pythonSupport ? true
|
||||
, python2Packages
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||
gettext
|
||||
gobject-introspection
|
||||
vala
|
||||
python2Packages.python
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
|||
gtk3
|
||||
json-glib
|
||||
librdf_raptor2
|
||||
python2Packages.rdflib
|
||||
python3.pkgs.rdflib
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
|
@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
postFixup = stdenv.lib.optionalString pythonSupport ''
|
||||
moveToOutput lib/${python2Packages.python.libPrefix} "$py"
|
||||
moveToOutput lib/${python3.libPrefix} "$py"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
|
@ -7778,7 +7778,7 @@ in {
|
|||
|
||||
zeep = callPackage ../development/python-modules/zeep { };
|
||||
|
||||
zeitgeist = disabledIf isPy3k (toPythonModule (pkgs.zeitgeist.override { python2Packages = self; })).py;
|
||||
zeitgeist = (toPythonModule (pkgs.zeitgeist.override { python3 = python; })).py;
|
||||
|
||||
zerobin = callPackage ../development/python-modules/zerobin { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue