Merge branch 'master' into qt-5-tmp
This commit is contained in:
@@ -14,11 +14,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "Cython";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.27.2";
|
||||
version = "0.27.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "265dacf64ed8c0819f4be9355c39beaa13dc2ad2f85237a2c4e478f5ce644b48";
|
||||
sha256 = "6a00512de1f2e3ce66ba35c5420babaef1fe2d9c43a8faab4080b0dbcc26bc64";
|
||||
};
|
||||
|
||||
# With Python 2.x on i686-linux or 32-bit ARM this test fails because the
|
||||
|
||||
16
pkgs/development/python-modules/affinity/default.nix
Normal file
16
pkgs/development/python-modules/affinity/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "affinity";
|
||||
version = "0.1.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1i6j7kszvnzh5vh9k48cqwx2kzf73a6abgv9s6bf0j2zmfjl2wb6";
|
||||
};
|
||||
meta = {
|
||||
description = "control processor affinity on windows and linux";
|
||||
homepage = http://cheeseshop.python.org/pypi/affinity;
|
||||
license = with lib.licenses; [ psfl ];
|
||||
};
|
||||
}
|
||||
@@ -13,12 +13,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp";
|
||||
version = "2.3.1";
|
||||
version = "2.3.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04f58bbcc9ae6f9aec30b9219ae47fa3c31586c77679405720545738ea62236e";
|
||||
sha256 = "42373fbdbe8f09233c17e74f53cee877bc7d5b495b4fc14c32a119255e85e736";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
asgiref, msgpack, posix_ipc
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
version = "1.4.1";
|
||||
version = "1.4.2";
|
||||
pname = "asgi_ipc";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/a/asgi_ipc/${name}.tar.gz";
|
||||
sha256 = "87cc9dda476d28f335261b73f0f3070f28847718de2e64da9a80492638203e43";
|
||||
sha256 = "2403f41184405791b05e7aee570bd6ccd47e2d91845d78fe17adcf58ef48c037";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ asgiref msgpack posix_ipc ];
|
||||
|
||||
21
pkgs/development/python-modules/betamax-matchers/default.nix
Normal file
21
pkgs/development/python-modules/betamax-matchers/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, betamax, requests_toolbelt }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "betamax-matchers";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07qpwjyq2i2aqhz5iwghnj4pqr2ys5n45v1vmpcfx9r5mhwrsq43";
|
||||
};
|
||||
|
||||
buildInputs = [ betamax requests_toolbelt ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/sigmavirus24/betamax_matchers;
|
||||
description = "A group of experimental matchers for Betamax";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, betamax, pyyaml }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "betamax-serializers";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yqzwx204m4lxlpg04cwv6iwzmcpdzr19wvj97vvxchp0g4qg83d";
|
||||
};
|
||||
|
||||
buildInputs = [ betamax pyyaml ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://gitlab.com/betamax/serializers;
|
||||
description = "A set of third-party serializers for Betamax";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
@@ -14,6 +14,8 @@ with pythonPackages;buildPythonPackage rec {
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
# Don't know why this test is failing!
|
||||
substituteInPlace testing/test_request.py --replace "test_env" "noop_test_env"
|
||||
py.test
|
||||
'';
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.11.6";
|
||||
version = "1.11.7";
|
||||
|
||||
disabled = pythonOlder "2.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.djangoproject.com/m/releases/1.11/${name}.tar.gz";
|
||||
sha256 = "0q0cmwifa6c0k6kh8fpa3mjmqw7yqd616qz8m4ls3h51xyhjrd63";
|
||||
sha256 = "16ab3p6jj1da94wkz2b5fb128ycy4826bbsnbabcd3qdaf9f6649";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals withGdal [
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
, git, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.18.4";
|
||||
version = "0.18.5";
|
||||
pname = "dulwich";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/d/dulwich/${name}.tar.gz";
|
||||
sha256 = "b4baace48dde5e0a76f37b251c246c7e1829bda0617679f00cbade0e70a5ac5b";
|
||||
sha256 = "838bac318fd0ed79e0eedb6cfd53b6424dc618fec6b99dc959881b12da7bd6e0";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
22
pkgs/development/python-modules/fastimport/default.nix
Normal file
22
pkgs/development/python-modules/fastimport/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, python, fetchurl }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "fastimport-${version}";
|
||||
version = "0.9.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/f/fastimport/${name}.tar.gz";
|
||||
sha256 = "1aqjsin4rmqm7ln4j0p73fzxifws6c6ikgyhav7r137m2ixsxl43";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://launchpad.net/python-fastimport;
|
||||
description = "VCS fastimport/fastexport parser";
|
||||
maintainers = with maintainers; [ koral ];
|
||||
license = licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
19
pkgs/development/python-modules/faulthandler/default.nix
Normal file
19
pkgs/development/python-modules/faulthandler/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "faulthandler";
|
||||
version = "2.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zywq3jaznddvqc3hnfrlv24wmpyq4xgajk9xhv6578qw1rpfj2r";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Dump the Python traceback";
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
maintainers = with stdenv.lib.maintainers; [ sauyon ];
|
||||
homepage = http://faulthandler.readthedocs.io/;
|
||||
};
|
||||
}
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Fiona";
|
||||
version = "1.7.9.post1";
|
||||
version = "1.7.10.post1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "68e8a925b23e3987845c11b0fdd6378fdec4316fe8ba767a935151b6ee1fc607";
|
||||
sha256 = "fc4c8996be3131f36c791d66273317d38b72b19dc24c2afc332fd734752eb7a8";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, six, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.1.1";
|
||||
version = "3.1.2";
|
||||
name = "gflags-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "python-gflags";
|
||||
sha256 = "0qvcizlz6r4511kl4jlg6fr34y1ka956dr2jj1q0qcklr94n9zxa";
|
||||
sha256 = "40ae131e899ef68e9e14aa53ca063839c34f6a168afe622217b5b875492a1ee2";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gst-python";
|
||||
version = "1.10.4";
|
||||
version = "1.12.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
"${meta.homepage}/src/gst-python/${name}.tar.xz"
|
||||
"mirror://gentoo/distfiles/${name}.tar.xz"
|
||||
];
|
||||
sha256 = "04l2hvvz9b0f3nyds1k3yfk5di8a91fpr6maj19c11mwp1s82l2r";
|
||||
sha256 = "0iwy0v2k27wd3957ich6j5f0f04b0wb2mb175ypf2lx68snk5k7l";
|
||||
};
|
||||
|
||||
patches = [ ./different-path-with-pygobject.patch ];
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
passthru.pythonPath = [];
|
||||
|
||||
meta = {
|
||||
homepage = http://gstreamer.freedesktop.org;
|
||||
homepage = https://gstreamer.freedesktop.org;
|
||||
|
||||
description = "Python bindings for GStreamer";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
buildPythonApplication rec {
|
||||
pname = "jsbeautifier";
|
||||
version = "1.7.4";
|
||||
name = "jsbeautifier-1.6.14";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "Jug";
|
||||
version = "1.6.3";
|
||||
version = "1.6.4";
|
||||
buildInputs = [ nose numpy ];
|
||||
propagatedBuildInputs = [
|
||||
bottle
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0dpcwjaf8zzqpdz8w8h0p7vmd6z6bzfz2805a6bdjqs9hhkhrg86";
|
||||
sha256 = "e739b20e7fe53ac50f5954b9e32568bdd92012dd4bd199d13e2a675ccd69d97d";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Keras";
|
||||
version = "2.0.8";
|
||||
version = "2.0.9";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "899dc6aaed366f20100b9f80cf1093ea5b43eecc74afd1dc63a4e48dfa776ab9";
|
||||
sha256 = "6b8572cf1b4a22fd0120b7c23382ba4fa04a6f0397e02af1249be9a7309d1767";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -12,7 +12,11 @@ buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit pname;
|
||||
# FIXME when updating to the next version: The tarball on pypi is called
|
||||
# "meliae-0.4.0.tar.gz" while the version within that tarball is
|
||||
# "0.4.0.final.0".
|
||||
version = "0.4.0";
|
||||
sha256 = "976519ab02aaa6a8fb5f596dc4dd9f64fc9510b00e054979566e51c9be7cec99";
|
||||
};
|
||||
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
let
|
||||
pname = "multidict";
|
||||
version = "3.3.0";
|
||||
version = "3.3.2";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
||||
sha256 = "e76909da2fad6966281d4e0e4ccfd3c3025699ebcc30806afa09fa1384c3532b";
|
||||
sha256 = "f82e61c7408ed0dce1862100db55595481911f159d6ddec0b375d35b6449509b";
|
||||
};
|
||||
|
||||
buildInputs = [ cython ];
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "netCDF4";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.3.0";
|
||||
version = "1.3.1";
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/n/netCDF4/${name}.tar.gz";
|
||||
sha256 = "1982372aeacc6b36054d90d8cb54ee9506b66b6f44d5cff10e2ffb162aad5476";
|
||||
sha256 = "570ea59992aa6d98a9b672c71161d11ba5683f787da53446086077470a869957";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -22,12 +22,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "notebook";
|
||||
version = "5.2.0";
|
||||
version = "5.2.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1sh3jkkmjzv17c3r8ii3kfhpxi6dkjk846b2lfy71g9qwqdcvbvz";
|
||||
sha256 = "4ae5b81dd39b37cdd99dcffe83a5182c849947b92d46ac4d2b5093af2bb9f224";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.utf8";
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "phonenumbers";
|
||||
version = "8.8.4";
|
||||
version = "8.8.5";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01kim7mwgm97wysclhyxcwvd2a8ifinaidkskglx7b2k0r7ji5sj";
|
||||
sha256 = "adb2dd985f875ac035bbdc6a1cc57e30834e106e2ff7899e09a1690b474c1774";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
43
pkgs/development/python-modules/praw/default.nix
Normal file
43
pkgs/development/python-modules/praw/default.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, requests, decorator, flake8, mock, six, update_checker, pytestrunner, prawcore
|
||||
, pytest, betamax, betamax-serializers, betamax-matchers, requests_toolbelt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "praw";
|
||||
version = "5.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "praw-dev";
|
||||
repo = "praw";
|
||||
rev = "v${version}";
|
||||
sha256 = "0nwfadczxa1fyq65zc3sfv8g2r4w3xrx3bdi5fv9xpn97wh2ifgw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
decorator
|
||||
flake8
|
||||
mock
|
||||
six
|
||||
update_checker
|
||||
pytestrunner
|
||||
prawcore
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
betamax
|
||||
betamax-serializers
|
||||
betamax-matchers
|
||||
requests_toolbelt
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python Reddit API wrapper";
|
||||
homepage = http://praw.readthedocs.org/;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ jgeerds ];
|
||||
};
|
||||
}
|
||||
38
pkgs/development/python-modules/prawcore/default.nix
Normal file
38
pkgs/development/python-modules/prawcore/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, requests
|
||||
, testfixtures, mock, requests_toolbelt
|
||||
, betamax, betamax-serializers, betamax-matchers
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "prawcore";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "praw-dev";
|
||||
repo = "prawcore";
|
||||
rev = "v${version}";
|
||||
sha256 = "1z5fz6v4bv6xw84l4q3rpw3j63bb2dldl0fd6ckz8wqlpb2l45br";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
testfixtures
|
||||
mock
|
||||
betamax
|
||||
betamax-serializers
|
||||
betamax-matchers
|
||||
requests_toolbelt
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Low-level communication layer for PRAW";
|
||||
homepage = http://praw.readthedocs.org/;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ jgeerds ];
|
||||
};
|
||||
}
|
||||
29
pkgs/development/python-modules/py3exiv2/default.nix
Normal file
29
pkgs/development/python-modules/py3exiv2/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ buildPythonPackage, isPy3k, fetchPypi, stdenv, exiv2, boost, libcxx }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "py3exiv2";
|
||||
version = "0.2.1";
|
||||
name = "${pname}-${version}";
|
||||
disabled = !(isPy3k);
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06q7mlqy05c3jr61nmz93fxb6ilizfyggbh5sg0krwjap2sw1fr8";
|
||||
};
|
||||
|
||||
buildInputs = [ exiv2 boost ];
|
||||
|
||||
# work around python distutils compiling C++ with $CC (see issue #26709)
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
||||
|
||||
# fix broken libboost_python3 detection
|
||||
patches = [ ./setup.patch ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://launchpad.net/py3exiv2";
|
||||
description = "A Python3 binding to the library exiv2";
|
||||
license = with stdenv.lib.licenses; [ gpl3 ];
|
||||
maintainers = with stdenv.lib.maintainers; [ vinymeuh ];
|
||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
11
pkgs/development/python-modules/py3exiv2/setup.patch
Normal file
11
pkgs/development/python-modules/py3exiv2/setup.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/setup.py 2017-10-16 22:03:02.000000000 +0200
|
||||
+++ b/setup.py 2017-10-16 22:03:34.000000000 +0200
|
||||
@@ -39,7 +39,7 @@
|
||||
if '3' in l[2:]:
|
||||
return l.replace('libboost', 'boost')
|
||||
|
||||
-libboost = get_libboost_name()
|
||||
+libboost = 'boost_python3'
|
||||
|
||||
setup(
|
||||
name='py3exiv2',
|
||||
@@ -1,23 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl
|
||||
, xe }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
url = "http://www.blarg.net/%7Esteveha/pyfeed-0.7.4.tar.gz";
|
||||
|
||||
name = stdenv.lib.nameFromURL url ".tar";
|
||||
|
||||
src = fetchurl {
|
||||
inherit url;
|
||||
sha256 = "1h4msq573m7wm46h3cqlx4rsn99f0l11rhdqgf50lv17j8a8vvy1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ xe ];
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://home.blarg.net/~steveha/pyfeed.html";
|
||||
description = "Tools for syndication feeds";
|
||||
};
|
||||
}
|
||||
27
pkgs/development/python-modules/pylibacl/default.nix
Normal file
27
pkgs/development/python-modules/pylibacl/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylibacl";
|
||||
version = "0.5.3";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0c3xw1s5bh6jnsc0wwyxnn6kn6x6rpbmmi05ap1f81fyqlgrzgj0";
|
||||
};
|
||||
|
||||
# ERROR: testExtended (tests.test_acls.AclExtensions)
|
||||
# IOError: [Errno 0] Error
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with pkgs; [ acl ];
|
||||
|
||||
meta = {
|
||||
description = "A Python extension module for POSIX ACLs, it can be used to query, list, add, and remove ACLs from files and directories under operating systems that support them";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
};
|
||||
}
|
||||
23
pkgs/development/python-modules/pyobjc/default.nix
Normal file
23
pkgs/development/python-modules/pyobjc/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchPypi, isPy3k, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pyobjc";
|
||||
version = "4.0b1";
|
||||
|
||||
# Gives "No matching distribution found for
|
||||
# pyobjc-framework-Collaboration==4.0b1 (from pyobjc==4.0b1)"
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "16bng6960c1m57nnh1l09ycnyimrqzw9mx9pnyjxn5zzm5kalr37";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A bridge between the Python and Objective-C programming languages";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = with stdenv.lib.maintainers; [ sauyon ];
|
||||
homepage = https://pythonhosted.org/pyobjc/;
|
||||
};
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyodbc";
|
||||
version = "4.0.19";
|
||||
version = "4.0.21";
|
||||
name = "${pname}-${version}";
|
||||
disabled = isPyPy; # use pypypdbc instead
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "05mkaxbi9n02bpr3l0qnyfb3458f35hk71bq8jmadikp3h8al7dg";
|
||||
sha256 = "9655f84ca9e5cb2dfffff705601017420c840d55271ba62dd44f05383eff0329";
|
||||
};
|
||||
|
||||
buildInputs = [ libiodbc ];
|
||||
|
||||
@@ -19,11 +19,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pyspread";
|
||||
version = "1.1";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0m1a4zvzrfrnc42j8mrbm7747w03nzyl9z02wjagccmlhi6nd9hx";
|
||||
sha256 = "b90edb92c7fce3b8332cdddd3dd1c72ba14440ab39a10ca89c9888ad973a8862";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy wxPython matplotlib pycairo python-gnupg xlrd xlwt jedi pyenchant basemap pygtk ];
|
||||
|
||||
27
pkgs/development/python-modules/python-fuse/default.nix
Normal file
27
pkgs/development/python-modules/python-fuse/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, pkgconfig
|
||||
, fetchurl
|
||||
, fuse
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
baseName = "fuse";
|
||||
version = "0.2.1";
|
||||
name = "${baseName}-${version}";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/fuse/fuse-python-${version}.tar.gz";
|
||||
sha256 = "06rmp1ap6flh64m81j0n3a357ij2vj9zwcvvw0p31y6hz1id9shi";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ fuse ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for FUSE";
|
||||
license = lib.licenses.lgpl21;
|
||||
};
|
||||
}
|
||||
26
pkgs/development/python-modules/pyxattr/default.nix
Normal file
26
pkgs/development/python-modules/pyxattr/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, pkgs
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyxattr";
|
||||
version = "0.6.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1a3fqjlgbzq5hmc3yrnxxxl8nyn3rz2kfn17svbsahaq4gj0xl09";
|
||||
};
|
||||
|
||||
# IOError: [Errno 95] Operation not supported (expected)
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with pkgs; [ attr ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python extension module which gives access to the extended attributes for filesystem objects available in some operating systems";
|
||||
license = licenses.lgpl21Plus;
|
||||
};
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "Shapely";
|
||||
version = "1.6.1";
|
||||
version = "1.6.2.post1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1iyhrkm6g233gwbd20sf4aq4by0kg52cz1d2k7imnqgzjpmkgqas";
|
||||
sha256 = "07fba518e76b3276558f62a5829bdfa476f790cdef752383ccdc8c66b04b0899";
|
||||
};
|
||||
|
||||
buildInputs = [ geos glibcLocales cython ];
|
||||
|
||||
27
pkgs/development/python-modules/six/default.nix
Normal file
27
pkgs/development/python-modules/six/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "six";
|
||||
version = "1.11.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test test_six.py
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A Python 2 and 3 compatibility library";
|
||||
homepage = http://pypi.python.org/pypi/six/;
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
From abd9f52ade78c737571be69f21dba384be3edf4e Mon Sep 17 00:00:00 2001
|
||||
From: Mike Bayer <mike_mp@zzzcomputing.com>
|
||||
Date: Sat, 2 Mar 2013 16:24:50 -0500
|
||||
Subject: [PATCH] - Fixed an import of "logging" in test_execute which was not
|
||||
working on some linux platforms. [ticket:2669]
|
||||
|
||||
---
|
||||
doc/build/changelog/changelog_07.rst | 10 ++++++++++
|
||||
lib/sqlalchemy/__init__.py | 2 +-
|
||||
test/engine/test_execute.py | 2 +-
|
||||
3 files changed, 12 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/doc/build/changelog/changelog_07.rst b/doc/build/changelog/changelog_07.rst
|
||||
index 416df5a..f07c9ec 100644
|
||||
--- a/doc/build/changelog/changelog_07.rst
|
||||
+++ b/doc/build/changelog/changelog_07.rst
|
||||
@@ -3,6 +3,16 @@
|
||||
0.7 Changelog
|
||||
==============
|
||||
|
||||
+.. changelog::
|
||||
+ :version: 0.7.11
|
||||
+
|
||||
+ .. change::
|
||||
+ :tags: bug, tests
|
||||
+ :tickets: 2669
|
||||
+ :pullreq: 41
|
||||
+
|
||||
+ Fixed an import of "logging" in test_execute which was not
|
||||
+ working on some linux platforms.
|
||||
|
||||
.. changelog::
|
||||
:version: 0.7.10
|
||||
diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py
|
||||
index 69b94f1..a37f684 100644
|
||||
--- a/test/engine/test_execute.py
|
||||
+++ b/test/engine/test_execute.py
|
||||
@@ -9,7 +9,7 @@
|
||||
import sqlalchemy as tsa
|
||||
from test.lib import testing, engines
|
||||
from test.lib.engines import testing_engine
|
||||
-import logging
|
||||
+import logging.handlers
|
||||
from sqlalchemy.dialects.oracle.zxjdbc import ReturningParam
|
||||
from sqlalchemy.engine import base, default
|
||||
from sqlalchemy.engine.base import Connection, Engine
|
||||
--
|
||||
1.8.1.6
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "SQLAlchemy";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.1.14";
|
||||
version = "1.1.15";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f1191e29e35b6fe1aef7175a09b1707ebb7bd08d0b17cb0feada76c49e5a2d1e";
|
||||
sha256 = "8b79a5ed91cdcb5abe97b0045664c55c140aec09e5dd5c01303e23de5fe7a95a";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlmap";
|
||||
version = "1.1.10";
|
||||
version = "1.1.11";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "90db96664955c6a576b495c973bd3976b9d4eaffaea205c0343ac7e8f8147cbe";
|
||||
sha256 = "bb5297df9cd97316b3c7ca64f8e31cae5cc6b94c015afd84c546877f1f77d6e4";
|
||||
};
|
||||
|
||||
# No tests in archive
|
||||
|
||||
24
pkgs/development/python-modules/sybil/default.nix
Normal file
24
pkgs/development/python-modules/sybil/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, buildPythonApplication, fetchPypi
|
||||
, pytest, nose }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "sybil";
|
||||
version = "1.0.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0x8qd5p5qliv8wmdglda2iy3f70i4jg8zqyk8yhklm5hrxm8jdl6";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest nose ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test tests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Automated testing for the examples in your documentation.";
|
||||
homepage = https://github.com/cjw296/sybil/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -7,6 +7,9 @@
|
||||
, cudaSupport ? false, nvidia_x11 ? null, cudatoolkit ? null, cudnn ? null
|
||||
# Default from ./configure script
|
||||
, cudaCapabilities ? [ "3.5" "5.2" ]
|
||||
, sse42Support ? false
|
||||
, avx2Support ? false
|
||||
, fmaSupport ? false
|
||||
}:
|
||||
|
||||
assert cudaSupport -> cudatoolkit != null
|
||||
@@ -77,6 +80,9 @@ let
|
||||
hardeningDisable = [ "all" ];
|
||||
|
||||
bazelFlags = [ "--config=opt" ]
|
||||
++ lib.optional sse42Support "--copt=-msse4.2"
|
||||
++ lib.optional avx2Support "--copt=-mavx2"
|
||||
++ lib.optional fmaSupport "--copt=-mfma"
|
||||
++ lib.optional cudaSupport "--config=cuda";
|
||||
|
||||
bazelTarget = "//tensorflow/tools/pip_package:build_pip_package";
|
||||
|
||||
23
pkgs/development/python-modules/testfixtures/default.nix
Normal file
23
pkgs/development/python-modules/testfixtures/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, mock, manuel, pytest, sybil, zope_component, django }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "testfixtures";
|
||||
version = "5.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1xfar653qmikwb94xj3f0xfp8dh2llxjsxipx1272d8qwl0aknnx";
|
||||
};
|
||||
|
||||
checkInputs = [ mock manuel pytest sybil zope_component ];
|
||||
|
||||
checkPhase = ''
|
||||
# django is too much hasle to setup at the moment
|
||||
pytest --ignore=testfixtures/tests/test_django testfixtures/tests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/Simplistix/testfixtures";
|
||||
};
|
||||
}
|
||||
22
pkgs/development/python-modules/update_checker/default.nix
Normal file
22
pkgs/development/python-modules/update_checker/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, requests}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "update_checker";
|
||||
version = "0.16";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1f38l40d32dm0avcidf3dmikma8z0la84yngj88v4xygzi399qvh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# requires network
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A python module that will check for package updates";
|
||||
homepage = https://github.com/bboe/update_checker;
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, fetchurl }:
|
||||
|
||||
buildPythonPackage (rec {
|
||||
pname = "urwid";
|
||||
@@ -10,6 +10,13 @@ buildPythonPackage (rec {
|
||||
sha256 = "18cnd1wdjcas08x5qwa5ayw6jsfcn33w4d9f7q3s29fy6qzc1kng";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
url = https://github.com/urwid/urwid/commit/4b0ed8b6030450e6d99909a7c683e9642e546387.patch;
|
||||
sha256 = "0ygghd6wzjqij5szg61l1dsk8b0yv8bwyj3bgxxj1lj4m17zsy5q";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A full-featured console (xterm et al.) user interface library";
|
||||
homepage = http://excess.org/urwid;
|
||||
|
||||
Reference in New Issue
Block a user