1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/development/python-modules/wxPython/3.0.nix
2014-03-25 22:35:25 +01:00

26 lines
660 B
Nix

{ stdenv, fetchurl, pkgconfig, wxGTK, pythonPackages, openglSupport ? true }:
assert wxGTK.unicode;
with stdenv.lib;
let version = "3.0.0.0"; in
stdenv.mkDerivation {
name = "wxPython-${version}";
builder = ./builder3.0.sh;
src = fetchurl {
url = "mirror://sourceforge/wxpython/wxPython-src-${version}.tar.bz2";
sha256 = "af88695e820dd914e8375dc91ecb736f6fb605979bb38460ace61bbea494dc11";
};
buildInputs = [ pkgconfig wxGTK (wxGTK.gtk) pythonPackages.python pythonPackages.wrapPython ]
++ optional openglSupport pythonPackages.pyopengl;
inherit openglSupport;
passthru = { inherit wxGTK openglSupport; };
}