Packages pycurl
svn path=/nixpkgs/trunk/; revision=26532
This commit is contained in:
parent
c8b82d5504
commit
b653226293
@ -812,6 +812,42 @@ rec {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
pycurl =
|
||||||
|
let libcurl = pkgs.stdenv.lib.overrideDerivation pkgs.curl
|
||||||
|
(oldAttrs: {
|
||||||
|
configureFlags =
|
||||||
|
(if oldAttrs ? configureFlags then oldAttrs.configureFlags else "" )
|
||||||
|
+ " --enable-static";
|
||||||
|
});
|
||||||
|
in
|
||||||
|
buildPythonPackage (rec {
|
||||||
|
name = "pycurl-7.19.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://pypi.python.org/packages/source/p/pycryptopp/${name}.tar.gz";
|
||||||
|
sha256 = "0hh6icdbp7svcq0p57zf520ifzhn7jw64x07k99j7h57qpy2sy7b";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ libcurl ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
find $out -name easy-install.pth | xargs rm -v
|
||||||
|
find $out -name 'site.py*' | xargs rm -v
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://pycurl.sourceforge.net/;
|
||||||
|
|
||||||
|
description = "Python wrapper for libcurl";
|
||||||
|
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
pymacs = pkgs.stdenv.mkDerivation rec {
|
pymacs = pkgs.stdenv.mkDerivation rec {
|
||||||
version = "v0.24-beta2";
|
version = "v0.24-beta2";
|
||||||
name = "Pymacs-${version}";
|
name = "Pymacs-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user