Packages pycurl

svn path=/nixpkgs/trunk/; revision=26532
This commit is contained in:
Evgeny Egorochkin 2011-03-26 18:23:25 +00:00
parent c8b82d5504
commit b653226293
1 changed files with 36 additions and 0 deletions

View File

@ -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 {
version = "v0.24-beta2";
name = "Pymacs-${version}";