mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #15949 from leenaars/pygnutlsfixed
Python-gnutls fixed + various new python libraries
This commit is contained in:
commit
b57a20b889
1 changed files with 100 additions and 0 deletions
|
@ -1214,6 +1214,27 @@ in modules // {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
attrs = buildPythonPackage (rec {
|
||||||
|
pname = "attrs";
|
||||||
|
version = "16.0.0";
|
||||||
|
name = "attrs-16.0.0";
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://pypi/a/attrs/${name}.tar.gz";
|
||||||
|
sha256 = "1g4asv3hbx5aqz7hjzq3q6ss2cpv1rdv66sp5d21cdyjajj2fs6y";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Mac OS X needs clang for testing
|
||||||
|
buildInputs = with self; [ pytest hypothesis zope_interface
|
||||||
|
pympler coverage ]
|
||||||
|
++ optionals (stdenv.isDarwin) [ pkgs.clang ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Python attributes without boilerplate";
|
||||||
|
homepage = https://github.com/hynek/attrs;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
audioread = buildPythonPackage rec {
|
audioread = buildPythonPackage rec {
|
||||||
name = "audioread-${version}";
|
name = "audioread-${version}";
|
||||||
version = "2.1.1";
|
version = "2.1.1";
|
||||||
|
@ -6497,7 +6518,13 @@ in modules // {
|
||||||
sha256 = "1yrdxcj5rzvz8iglircz6icvyggz5fmdcd010n6w3j60yp4p84kc";
|
sha256 = "1yrdxcj5rzvz8iglircz6icvyggz5fmdcd010n6w3j60yp4p84kc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# https://github.com/AGProjects/python-gnutls/issues/2
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pkgs.gnutls ];
|
propagatedBuildInputs = with self; [ pkgs.gnutls ];
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace gnutls/library/__init__.py --replace "/usr/local/lib" "${pkgs.gnutls33.out}/lib"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
gitdb = buildPythonPackage rec {
|
gitdb = buildPythonPackage rec {
|
||||||
|
@ -12203,6 +12230,22 @@ in modules // {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
klein = buildPythonPackage rec {
|
||||||
|
name = "klein-15.3.1";
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://pypi/k/klein/${name}.tar.gz";
|
||||||
|
sha256 = "1hl2psnn1chm698rimyn9dgcpl1mxgc8dj11b3ipp8z37yfjs3z9";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with self; [ werkzeug twisted ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Klein Web Micro-Framework";
|
||||||
|
homepage = "https://github.com/twisted/klein";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
kombu = buildPythonPackage rec {
|
kombu = buildPythonPackage rec {
|
||||||
name = "kombu-${version}";
|
name = "kombu-${version}";
|
||||||
version = "3.0.35";
|
version = "3.0.35";
|
||||||
|
@ -13742,6 +13785,31 @@ in modules // {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pympler = buildPythonPackage rec {
|
||||||
|
pname = "Pympler";
|
||||||
|
version = "0.4.3";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://pypi/P/${pname}/${name}.tar.gz";
|
||||||
|
sha256 = "0mhyxqlkha98y8mi5zqcjg23r30mgdjdzs05lghbmqfdyvzjh1a3";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Remove test asizeof.flatsize(), broken and can be missed as
|
||||||
|
# test is only useful on python 2.5, see https://github.com/pympler/pympler/issues/22
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace ./test/asizeof/test_asizeof.py --replace "n, e = test_flatsize" "#n, e = test_flatsize"
|
||||||
|
substituteInPlace ./test/asizeof/test_asizeof.py --replace "self.assert_(n," "#self.assert_(n,"
|
||||||
|
substituteInPlace ./test/asizeof/test_asizeof.py --replace "self.assert_(not e" "#self.assert_(not e"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Tool to measure, monitor and analyze memory behavior";
|
||||||
|
homepage = http://pythonhosted.org/Pympler/;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pymysql = buildPythonPackage rec {
|
pymysql = buildPythonPackage rec {
|
||||||
name = "pymysql-${version}";
|
name = "pymysql-${version}";
|
||||||
version = "0.6.6";
|
version = "0.6.6";
|
||||||
|
@ -18206,6 +18274,21 @@ in modules // {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
pydispatcher = buildPythonPackage (rec {
|
||||||
|
version = "2.0.5";
|
||||||
|
disabled = isPy35;
|
||||||
|
name = "pydispatcher-${version}";
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://pypi/P/PyDispatcher/PyDispatcher-${version}.tar.gz";
|
||||||
|
sha256 = "1bswbmhlbqdxlgbxlb6xrlm4k253sg8nvpl1whgsys8p3fg0cw2m";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://pydispatcher.sourceforge.net/;
|
||||||
|
description = "Signal-registration and routing infrastructure for use in multiple contexts";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
pydot = buildPythonPackage rec {
|
pydot = buildPythonPackage rec {
|
||||||
name = "pydot-1.0.2";
|
name = "pydot-1.0.2";
|
||||||
|
@ -21536,6 +21619,23 @@ in modules // {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sqlobject = buildPythonPackage rec {
|
||||||
|
version = "3.0.0";
|
||||||
|
name = "sqlobject-${version}";
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://pypi/S/SQLObject/SQLObject-${version}.tar.gz";
|
||||||
|
sha256 = "15g3g7f4yiyplqf54px1dsnmrw3jb7xwx97z8qzgp9ijmm5vpr8r";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with self; [ pydispatcher FormEncode ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Object Relational Manager for providing an object interface to your database";
|
||||||
|
homepage = "http://www.sqlobject.org/";
|
||||||
|
license = licenses.lgpl21;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pgpdump = self.buildPythonPackage rec {
|
pgpdump = self.buildPythonPackage rec {
|
||||||
name = "pgpdump-1.5";
|
name = "pgpdump-1.5";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue