python pycangjie: call package from python-packages.nix
This commit is contained in:
parent
9186d3169a
commit
8a61d3699f
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, bash, autoconf, automake, libtool, pkgconfig, libcangjie
|
{ stdenv, fetchurl, bash, autoconf, automake, libtool, pkgconfig, libcangjie
|
||||||
, sqlite, python3, cython3
|
, sqlite, python, cython
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoconf automake libtool pkgconfig libcangjie sqlite python3 cython3
|
autoconf automake libtool pkgconfig libcangjie sqlite python cython
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -2810,7 +2810,7 @@ let
|
|||||||
|
|
||||||
pyatspi = callPackage ../development/python-modules/pyatspi { };
|
pyatspi = callPackage ../development/python-modules/pyatspi { };
|
||||||
|
|
||||||
pycangjie = callPackage ../development/python-modules/pycangjie { };
|
pycangjie = pythonPackages.pycangjie;
|
||||||
|
|
||||||
pydb = callPackage ../development/tools/pydb { };
|
pydb = callPackage ../development/tools/pydb { };
|
||||||
|
|
||||||
|
@ -140,6 +140,8 @@ in modules // {
|
|||||||
pycairo = callPackage ../development/python-modules/pycairo {
|
pycairo = callPackage ../development/python-modules/pycairo {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pycangjie = if isPy3k then callPackage ../development/python-modules/pycangjie { } else throw "pycangjie not supported for interpreter ${python.executable}";
|
||||||
|
|
||||||
pycrypto = callPackage ../development/python-modules/pycrypto { };
|
pycrypto = callPackage ../development/python-modules/pycrypto { };
|
||||||
|
|
||||||
pygame = callPackage ../development/python-modules/pygame { };
|
pygame = callPackage ../development/python-modules/pygame { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user