* Updated pyqt and sip because the old versions have disappeared.
* Removed some unused versions of those packages. * Don't pass `lib' to packages (because we already have `stdenv.lib'). * Removed some `*_python26' variants because Python 2.6 is the default now. svn path=/nixpkgs/trunk/; revision=20782
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
args : with args;
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = http://ftp.de.debian.org/debian/pool/main/p/python-qt3/python-qt3_3.17.4.orig.tar.gz;
|
||||
sha256 = "0p76g64ww9nhg1sahphanwb7nkjmsvxyaqk8k8iaycnlc8040c8r";
|
||||
};
|
||||
|
||||
buildInputs = [qt python pkgconfig pythonSip libX11 libXext glib];
|
||||
configureFlags = [" -q ${qt} "];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doPythonConfigure" "doMakeInstall"];
|
||||
extraPythonConfigureCommand = ''echo yes | \'';
|
||||
|
||||
name = "python-qt-" + version;
|
||||
meta = {
|
||||
description = "Qt bindings for Python";
|
||||
license = "GPL";
|
||||
};
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
args : with args;
|
||||
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = mirror://debian/pool/main/p/python-qt4/python-qt4_4.3.3.orig.tar.gz;
|
||||
sha256 = "0m8yzaz17nb8prm2kmy0mbiq4np515abi2xkadflsgwq1bj86qyk";
|
||||
};
|
||||
|
||||
buildInputs = [qt python pkgconfig pythonSip libX11 libXext glib];
|
||||
configureFlags = [" -p $prefix/share/pyQt4/plugins " '' -e "$prefix/include/python$pythonVersion" ''];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doPythonConfigure" "doMakeInstall"];
|
||||
extraPythonConfigureCommand = ''echo yes | \'';
|
||||
|
||||
name = "python-qt-4.3.3";
|
||||
meta = {
|
||||
description = "Qt bindings for Python";
|
||||
license = "GPL";
|
||||
};
|
||||
}
|
||||
@@ -1,18 +1,22 @@
|
||||
{stdenv, fetchurl, lib, python, sip, qt4}:
|
||||
{stdenv, fetchurl, python, sip, qt4}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pyqt-x11-gpl-4.7";
|
||||
name = "pyqt-x11-gpl-4.7.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.7.tar.gz;
|
||||
sha256 = "0hwp84igw639mgw344q2jmnjarhq5wk60ncn8h2jjg7k4vchbvkz";
|
||||
};
|
||||
|
||||
configurePhase = "python ./configure.py --confirm-license -b $out/bin -d $out/lib/${python.libPrefix}/site-packages -v $out/share/sip -p $out/plugins";
|
||||
|
||||
buildInputs = [ python sip qt4 ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for Qt";
|
||||
license = "GPL";
|
||||
homepage = http://www.riverbankcomputing.co.uk;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.mesaPlatforms;
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
platforms = stdenv.lib.platforms.mesaPlatforms;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,18 +1,22 @@
|
||||
{stdenv, fetchurl, lib, python, sip, qt4}:
|
||||
{stdenv, fetchurl, python, sip, qt4}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pyqt-x11-gpl-4.5.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://pyqwt.sourceforge.net/support/PyQt-x11-gpl-4.5.4.tar.gz; # Not downloading from riverbank, since they remove older releases
|
||||
sha256 = "1a55zng6yhnbk5swc02bkbyccdgf0f0v94yxk9v5a43hv9xnrl5k";
|
||||
};
|
||||
|
||||
configurePhase = "python ./configure.py --confirm-license -b $out/bin -d $out/lib/${python.libPrefix}/site-packages -v $out/share/sip -p $out/plugins";
|
||||
|
||||
buildInputs = [ python sip qt4 ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for Qt";
|
||||
license = "GPL";
|
||||
homepage = http://www.riverbankcomputing.co.uk;
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.mesaPlatforms;
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
platforms = stdenv.lib.platforms.mesaPlatforms;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user