python pycangjie: call package from python-packages.nix

This commit is contained in:
Frederik Rietdijk 2015-12-09 11:58:38 +01:00
parent 9186d3169a
commit 8a61d3699f
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, bash, autoconf, automake, libtool, pkgconfig, libcangjie
, sqlite, python3, cython3
, sqlite, python, cython
}:
stdenv.mkDerivation rec {
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
autoconf automake libtool pkgconfig libcangjie sqlite python3 cython3
autoconf automake libtool pkgconfig libcangjie sqlite python cython
];
preConfigure = ''

View File

@ -2810,7 +2810,7 @@ let
pyatspi = callPackage ../development/python-modules/pyatspi { };
pycangjie = callPackage ../development/python-modules/pycangjie { };
pycangjie = pythonPackages.pycangjie;
pydb = callPackage ../development/tools/pydb { };

View File

@ -140,6 +140,8 @@ in modules // {
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 { };
pygame = callPackage ../development/python-modules/pygame { };