python pygame: move callPackage to python-packages.nix
This commit is contained in:
parent
292b943ec6
commit
bc97b365d3
3 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, buildPythonPackage, pkgconfig, smpeg, libX11
|
{ stdenv, fetchurl, buildPythonPackage, pkgconfig, smpeg, libX11
|
||||||
, SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi
|
, SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi, isPy3k,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
|
@ -15,6 +15,9 @@ buildPythonPackage {
|
||||||
smpeg portmidi libX11
|
smpeg portmidi libX11
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# /nix/store/94kswjlwqnc0k2bnwgx7ckx0w2kqzaxj-stdenv/setup: line 73: python: command not found
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
patches = [ ./pygame-v4l.patch ];
|
patches = [ ./pygame-v4l.patch ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
|
@ -9027,7 +9027,7 @@ let
|
||||||
|
|
||||||
pyexiv2 = callPackage ../development/python-modules/pyexiv2 { };
|
pyexiv2 = callPackage ../development/python-modules/pyexiv2 { };
|
||||||
|
|
||||||
pygame = callPackage ../development/python-modules/pygame { };
|
pygame = pythonPackages.pygame;
|
||||||
|
|
||||||
pygobject = pythonPackages.pygobject;
|
pygobject = pythonPackages.pygobject;
|
||||||
|
|
||||||
|
|
|
@ -142,6 +142,8 @@ in modules // {
|
||||||
|
|
||||||
pycrypto = callPackage ../development/python-modules/pycrypto { };
|
pycrypto = callPackage ../development/python-modules/pycrypto { };
|
||||||
|
|
||||||
|
pygame = callPackage ../development/python-modules/pygame { };
|
||||||
|
|
||||||
pygobject = callPackage ../development/python-modules/pygobject { };
|
pygobject = callPackage ../development/python-modules/pygobject { };
|
||||||
|
|
||||||
pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { };
|
pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { };
|
||||||
|
|
Loading…
Reference in a new issue