* BitTorrent 5.0.3.
* wxPython 2.6.3. svn path=/nixpkgs/trunk/; revision=7341
This commit is contained in:
12
pkgs/development/python-modules/pycrypto/default.nix
Normal file
12
pkgs/development/python-modules/pycrypto/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{stdenv, fetchurl, python}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pycrypto-2.0.1";
|
||||
src = fetchurl {
|
||||
url = http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz;
|
||||
md5 = "4d5674f3898a573691ffb335e8d749cd";
|
||||
};
|
||||
buildInputs = [python];
|
||||
buildPhase = "true";
|
||||
installPhase = "python ./setup.py install --prefix=$out";
|
||||
}
|
||||
@@ -6,7 +6,8 @@ stdenv.mkDerivation {
|
||||
url = http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted-2.4.0.tar.bz2;
|
||||
md5 = "42eb0c8fd0f8707a39fff1dd6adab27d";
|
||||
};
|
||||
buildInputs = [python ZopeInterface];
|
||||
buildInputs = [python];
|
||||
propagatedBuildInputs = [ZopeInterface];
|
||||
buildPhase = "true";
|
||||
installPhase = "PYTHONPATH=$(toPythonPath $out):$PYTHONPATH; python ./setup.py install --prefix=$out";
|
||||
installCommand = "PYTHONPATH=$(toPythonPath $out):$PYTHONPATH; python ./setup.py install --prefix=$out";
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
source $stdenv/setup
|
||||
|
||||
flags="WXPORT=gtk2 BUILD_GLCANVAS=0 BUILD_OGL=0"
|
||||
flags="WXPORT=gtk2 NO_HEADERS=1 BUILD_GLCANVAS=0 BUILD_OGL=0 UNICODE=1"
|
||||
|
||||
configurePhase() {
|
||||
cd wxPython
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
assert wxGTK.compat22;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "wxPython-2.4.2.4";
|
||||
name = "wxPython-2.6.3.3";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/wxPythonSrc-2.4.2.4.tar.gz;
|
||||
md5 = "ea4eb68e10a0c2a9be643b35dcb78e41";
|
||||
url = http://prdownloads.sourceforge.net/wxpython/wxPython-src-2.6.3.3.tar.bz2;
|
||||
md5 = "66b9c5f8e20a9505c39dab1a1234daa9";
|
||||
};
|
||||
buildInputs = [pkgconfig wxGTK (wxGTK.gtk) python];
|
||||
inherit wxGTK; # !!! move this down
|
||||
} // { inherit python; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user