diff options
Diffstat (limited to 'pkgs/development/python-modules/wxPython/2.8.nix')
-rw-r--r-- | pkgs/development/python-modules/wxPython/2.8.nix | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/wxPython/2.8.nix b/pkgs/development/python-modules/wxPython/2.8.nix index a6fd0100f587..4a464e572b80 100644 --- a/pkgs/development/python-modules/wxPython/2.8.nix +++ b/pkgs/development/python-modules/wxPython/2.8.nix @@ -1,24 +1,9 @@ -{ stdenv, fetchurl, pkgconfig, wxGTK, pythonPackages, python, isPyPy }: +{ callPackage, ... } @ args: -assert wxGTK.unicode; +callPackage ./generic.nix (args // rec { -let version = "2.8.12.1"; in + version = "2.8.12.1"; -if isPyPy then throw "wxPython-${version} not supported for interpreter ${python.executable}" else stdenv.mkDerivation { - name = "wxPython-${version}"; - - builder = ./builder.sh; - - src = fetchurl { - url = "mirror://sourceforge/wxpython/wxPython-src-${version}.tar.bz2"; - sha256 = "1l1w4i113csv3bd5r8ybyj0qpxdq83lj6jrc5p7cc10mkwyiagqz"; - }; - - buildInputs = [ pkgconfig wxGTK (wxGTK.gtk) pythonPackages.python pythonPackages.wrapPython ]; - - passthru = { inherit wxGTK; }; + sha256 = "1l1w4i113csv3bd5r8ybyj0qpxdq83lj6jrc5p7cc10mkwyiagqz"; - meta = { - platforms = stdenv.lib.platforms.all; - }; -} +}) |