Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk
2019-08-28 08:26:42 +02:00
1209 changed files with 36685 additions and 18393 deletions

View File

@@ -1,33 +1,29 @@
{ pkgs
, buildPythonPackage
, fetchPypi
, invoke
, paramiko
{ lib, buildPythonPackage, fetchPypi
, cryptography
, pytest
, invoke
, mock
, paramiko
, pytest
, pytest-relaxed
}:
buildPythonPackage rec {
pname = "fabric";
version = "2.4.0";
version = "2.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "93684ceaac92e0b78faae551297e29c48370cede12ff0f853cdebf67d4b87068";
sha256 = "19nzdibjfndzcwvby20p59igqwyzw7skrb45v2mxqsjma5yjv114";
};
propagatedBuildInputs = [ invoke paramiko cryptography ];
checkInputs = [ pytest mock pytest-relaxed ];
# ignore subprocess main errors (1) due to hardcoded /bin/bash
checkPhase = ''
rm tests/main.py
pytest tests
'';
meta = with pkgs.lib; {
meta = with lib; {
description = "Pythonic remote execution";
homepage = https://www.fabfile.org/;
license = licenses.bsd2;

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Wand";
version = "0.5.5";
version = "0.5.6";
src = fetchPypi {
inherit pname version;
sha256 = "1qjwqshcrfsa2a0j9bk0w01y857idzic1bj202p9cpar3xsjjw69";
sha256 = "126gpx6zj7fpx87v1qgicpfdahmmkqqmd2a8abllq0jlckrmjsyh";
};
postPatch = ''

View File

@@ -1,14 +1,17 @@
{ lib, isPy3k, fetchPypi, buildPythonPackage
{ lib, isPy3k, fetchFromGitHub, buildPythonPackage
, atpublic }:
buildPythonPackage rec {
pname = "aiosmtpd";
version = "1.2";
version = "1.2.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1xdfk741pjmz1cm8dsi4n5vq4517i175rm94696m3f7kcgk7xsmp";
# Release not published to Pypi
src = fetchFromGitHub {
owner = "aio-libs";
repo = pname;
rev = version;
sha256 = "14c30dm6jzxiblnsah53fdv68vqhxwvb9x0aq9bc4vcdas747vr7";
};
propagatedBuildInputs = [

View File

@@ -1,5 +1,5 @@
{ lib
, fetchurl
, fetchFromGitHub
, buildPythonPackage
, pycrypto
, paramiko
@@ -18,11 +18,13 @@
buildPythonPackage rec {
pname = "ansible";
version = "2.8.2";
version = "2.8.4";
src = fetchurl {
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
sha256 = "1e5ba829ca0602c55b33da399b06f99b135a34014b661d1c36d8892a1e2d3730";
src = fetchFromGitHub {
owner = "ansible";
repo = "ansible";
rev = "v${version}";
sha256 = "1fp7zz8awfv70nn8i6x0ggx4472377hm7787x16qv2kz4nb069ki";
};
prePatch = ''

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "authres";
version = "1.1.1";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "0bxclx021zn4hhrpaw5fl61bhnf17yqjd0pvwxqfqwdkxdjpx37b";
sha256 = "1dr5zpqnb54h4f5ax8334l1dcp8j9083d7v4vdi1xqkwmnavklck";
};
checkPhase = ''

View File

@@ -33,11 +33,11 @@
buildPythonPackage rec {
pname = "azure-cli-core";
version = "2.0.69";
version = "2.0.71";
src = fetchPypi {
inherit pname version;
sha256 = "797c4fab2285aa2ac316daf692c1e8f6b14186c059805e8a57332b4d83d7bb23";
sha256 = "01pqdh16l2c9a6b1az9galmm1szvhg7fyf9shq872wanw1xx88dj";
};
propagatedBuildInputs = [

View File

@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
version = "2.7.0";
version = "4.0.0";
pname = "azure-mgmt-network";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "04z9f0nd2nh5miw81qahqrrz998l4yd328qcyx7bxg42a5f5v5jp";
sha256 = "0h2lnigmh2arq0ppwjk8h9rqxplj6s7h7qxwyv7wirk0ydx6cfd9";
};
postInstall = if isPy3k then "" else ''

View File

@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
version = "3.3.0";
version = "4.0.0";
pname = "azure-mgmt-storage";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1kffay8hr8h3hf78wb1kisvffpwxsxy6lixbgh9dbv0p781sgyh6";
sha256 = "1kxd30s2axn3g4qx3v7q3d5l744a29xlfk3q06ra0rqm1p6prvgv";
};
postInstall = if isPy3k then "" else ''

View File

@@ -14,16 +14,16 @@
}:
buildPythonPackage rec {
version = "19.1.1";
version = "19.7.3";
pname = "BoltzTraP2";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "81e8a5ef8240c6a2205463fa7bc643b8033125237927f5492dab0b5d1aadb35a";
sha256 = "1hambr925ml2v2zcxnmnpi39395gl2928yac4p2kghk9xicymraw";
};
buildInputs = [ cython cmake ];
nativeBuildInputs = [ cmake cython ];
checkInputs = [ pytest ];
propagatedBuildInputs = [ spglib numpy scipy matplotlib ase netcdf4 ];

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "braintree";
version = "3.55.0";
version = "3.56.0";
src = fetchPypi {
inherit pname version;
sha256 = "0l3i0ayzykrsraqf87z4h39qm3kxyfwrm09n81gnkvsn2126izsd";
sha256 = "1d1xv7b4s68yfa3snnvcjldj0q7v1izpyvqkv2c1k0w73hl657b5";
};
propagatedBuildInputs = [ requests ];

View File

@@ -1,11 +1,11 @@
{ lib, fetchPypi, buildPythonPackage, isPy3k, keyring, pbkdf2, pyaes}:
buildPythonPackage rec {
pname = "browser-cookie3";
version = "0.6.4";
version = "0.7.6";
src = fetchPypi {
inherit pname version;
sha256 = "16nghwsrv08gz4iiyxsy5lgg5ljgrwkp471m7xnsvhhpb3axmnsc";
sha256 = "1f24hsclg1wz2i8aiam91l06qqy0plxhwl615l4qkg35mbw4ry7h";
};
disabled = !isPy3k;

View File

@@ -3,7 +3,7 @@
sqlalchemy_migrate, dateutil, txaio, autobahn, pyjwt, pyyaml, treq,
txrequests, pyjade, boto3, moto, mock, python-lz4, setuptoolsTrial,
isort, pylint, flake8, buildbot-worker, buildbot-pkg, parameterized,
glibcLocales }:
git, glibcLocales }:
let
withPlugins = plugins: buildPythonPackage {
@@ -25,11 +25,11 @@ let
package = buildPythonPackage rec {
pname = "buildbot";
version = "2.3.1";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0qzr6my8zvaj0a1jwyaf254rdgm1xcyq8zp4b6fa5aqigfld4dfg";
sha256 = "141ad2g1j5y0n5cdnd18m55ss0gqjlz5ky85rb6qfn73dgw42vmz";
};
propagatedBuildInputs = [
@@ -37,7 +37,6 @@ let
twisted
jinja2
zope_interface
future
sqlalchemy
sqlalchemy_migrate
dateutil
@@ -65,6 +64,7 @@ let
buildbot-worker
buildbot-pkg
parameterized
git
glibcLocales
];
@@ -95,7 +95,7 @@ let
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot is an open-source continuous integration framework for automating software build, test, and release processes";
maintainers = with maintainers; [ nand0p ryansydnor ];
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
};
};

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "buildbot-pkg";
version = "2.3.1";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0bpqiih15b5kzx1r542m8j7ydbnmgzhdnkaxv0z7gjv21k78m5i5";
sha256 = "0na336jwibgbix8fr4jki1gqys44kkm0a8q32llcr2z08igs4mvy";
};
postPatch = ''
@@ -18,7 +18,7 @@ buildPythonPackage rec {
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot Packaging Helper";
maintainers = with maintainers; [ nand0p ryansydnor ];
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
};
}

View File

@@ -1,23 +1,21 @@
{ lib, buildPythonPackage, fetchPypi, buildbot, buildbot-pkg }:
{ lib, buildPythonPackage, fetchPypi, buildbot, buildbot-pkg, mock }:
{
www = buildPythonPackage rec {
pname = "buildbot_www";
pname = "buildbot-www";
inherit (buildbot-pkg) version;
# NOTE: wheel is used due to buildbot circular dependency
format = "wheel";
src = fetchPypi {
inherit pname version format;
python = "py3";
sha256 = "1ii01py78wkda9x4lqm0bxqmb4dhvbdmmz7sncm1lw7bhmhqh84w";
inherit pname version;
sha256 = "0g3m5z8yska245r1x9n85b4br8b63i4zca2qn3qspf62b1wzmxmd";
};
buildInputs = [ buildbot buildbot-pkg mock ];
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot UI";
maintainers = with maintainers; [ nand0p ryansydnor ];
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
};
};
@@ -28,16 +26,16 @@
src = fetchPypi {
inherit pname version;
sha256 = "1y523hadw3398jwfpmi2f4g0s6dp9y191qzycrsbvbj147dp0qra";
sha256 = "0p7az9mb09c4bl0j37w28wflzygq9vy8rjbbnhlfbs6py6mjdagr";
};
propagatedBuildInputs = [ buildbot-pkg ];
buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot Console View Plugin";
maintainers = with maintainers; [ nand0p ryansydnor ];
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
};
};
@@ -48,16 +46,16 @@
src = fetchPypi {
inherit pname version;
sha256 = "1prfr03igcmagydvxqhrh6k6wz16vk6fwgrm143jh3xmml6f16ll";
sha256 = "0ba0a7q7ii7sipvifxs9ldkcs4b975skndarmirbphc797993hj1";
};
propagatedBuildInputs = [ buildbot-pkg ];
buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot Waterfall View Plugin";
maintainers = with maintainers; [ nand0p ryansydnor ];
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
};
};
@@ -68,16 +66,16 @@
src = fetchPypi {
inherit pname version;
sha256 = "1xkqiwxjppyns2s0239zzvbnr8b7vdakypj95mca89mmnyniflxj";
sha256 = "0dvchhjzmfbbrxqm8dlmwck22z99pgnflxk3cyn0wbb1qskhd9cv";
};
propagatedBuildInputs = [ buildbot-pkg ];
buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot Grid View Plugin";
maintainers = with maintainers; [ nand0p ];
maintainers = with maintainers; [ nand0p lopsided98 ];
license = licenses.gpl2;
};
};
@@ -88,16 +86,16 @@
src = fetchPypi {
inherit pname version;
sha256 = "1jhvq61x0bzh03nd2ac11swdjn0ndnx3ac7x9v3m3v0pgr08rc28";
sha256 = "0w9p3y89rqsmqiacwj2avir42r0xjr2yri14v3ay6yar5391r8wa";
};
propagatedBuildInputs = [ buildbot-pkg ];
buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot WSGI dashboards Plugin";
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ lopsided98 ];
license = licenses.gpl2;
};
};

View File

@@ -3,11 +3,11 @@
buildPythonPackage (rec {
pname = "buildbot-worker";
version = "2.3.1";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0lvgqcayd4f32895g3cwrbnjw6p94nrggbq7wfz5mwbhpgg6hv52";
sha256 = "04dk1jg0yq0rcm7j7pn7l1pqqjhiyvwppnhc1b7106sx2cdj2yb2";
};
propagatedBuildInputs = [ twisted future ];
@@ -22,7 +22,7 @@ buildPythonPackage (rec {
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot Worker Daemon";
maintainers = with maintainers; [ nand0p ryansydnor ];
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
};
})

View File

@@ -1,11 +1,11 @@
{ lib, buildPythonPackage, fetchPypi
, tzlocal, requests, vobject, lxml }:
, tzlocal, requests, vobject, lxml, nose }:
buildPythonPackage rec {
pname = "caldav";
version = "0.6.1";
propagatedBuildInputs = [ tzlocal requests vobject lxml ];
propagatedBuildInputs = [ tzlocal requests vobject lxml nose ];
src = fetchPypi {
inherit pname version;

View File

@@ -18,7 +18,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
homepage = http://graphite.wikidot.com/;
description = "Backend data caching and persistence daemon for Graphite";
maintainers = with maintainers; [ rickynils offline basvandijk ];
maintainers = with maintainers; [ offline basvandijk ];
license = licenses.asl20;
};
}

View File

@@ -1,18 +1,22 @@
{ stdenv, fetchPypi, buildPythonPackage
{ stdenv, fetchPypi, buildPythonPackage, pythonAtLeast
, more-itertools, six, setuptools_scm, setuptools-scm-git-archive
, pytest, pytestcov, portend, pytest-testmon, pytest-mock
, backports_unittest-mock, pyopenssl, requests, trustme, requests-unixsocket
, backports_functools_lru_cache }:
let inherit (stdenv) lib; in
buildPythonPackage rec {
pname = "cheroot";
version = "6.5.5";
version = "6.5.6";
src = fetchPypi {
inherit pname version;
sha256 = "f6a85e005adb5bc5f3a92b998ff0e48795d4d98a0fbb7edde47a7513d4100601";
sha256 = "b824f9961eb447809badeb051820a05770354e2f9ae5c355eecc21f22633c217";
};
patches = [ ./tests.patch ];
nativeBuildInputs = [ setuptools_scm setuptools-scm-git-archive ];
propagatedBuildInputs = [ more-itertools six backports_functools_lru_cache ];
@@ -20,14 +24,17 @@ buildPythonPackage rec {
checkInputs = [ pytest pytestcov portend backports_unittest-mock pytest-mock pytest-testmon pyopenssl requests trustme requests-unixsocket ];
# Disable doctest plugin because times out
# Disable xdist (-n arg) because it's incompatible with testmon
# Deselect test_bind_addr_unix on darwin because times out
# Deselect test_http_over_https_error on darwin because builtin cert fails
# Disable warnings-as-errors because of deprecation warnings from socks on python 3.7
checkPhase = ''
substituteInPlace pytest.ini --replace "--doctest-modules" ""
pytest ${stdenv.lib.optionalString stdenv.isDarwin "--deselect=cheroot/test/test_ssl.py::test_http_over_https_error --deselect=cheroot/test/test_server.py::test_bind_addr_unix"}
substituteInPlace pytest.ini --replace "--doctest-modules" "" --replace "-n auto" ""
${lib.optionalString (pythonAtLeast "3.7") "sed -i '/warnings/,+2d' pytest.ini"}
pytest ${lib.optionalString stdenv.isDarwin "--deselect=cheroot/test/test_ssl.py::test_http_over_https_error --deselect=cheroot/test/test_server.py::test_bind_addr_unix"}
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "High-performance, pure-Python HTTP";
homepage = https://github.com/cherrypy/cheroot;
license = licenses.mit;

View File

@@ -0,0 +1,45 @@
diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py
index fe8a0a0..92a77c1 100644
--- a/cheroot/test/test_ssl.py
+++ b/cheroot/test/test_ssl.py
@@ -316,11 +316,9 @@ def test_tls_client_auth(
expected_ssl_errors = (
requests.exceptions.SSLError,
OpenSSL.SSL.Error,
- ) if PY34 else (
- requests.exceptions.SSLError,
+ requests.exceptions.ConnectionError,
)
- if IS_WINDOWS:
- expected_ssl_errors += requests.exceptions.ConnectionError,
+
with pytest.raises(expected_ssl_errors) as ssl_err:
make_https_request()
@@ -335,7 +333,7 @@ def test_tls_client_auth(
except AttributeError:
if PY34:
pytest.xfail('OpenSSL behaves wierdly under Python 3.4')
- elif six.PY3 and IS_WINDOWS:
+ elif six.PY3:
err_text = str(ssl_err.value)
else:
raise
@@ -348,8 +346,7 @@ def test_tls_client_auth(
if IS_MACOS and IS_PYPY and adapter_type == 'pyopenssl':
expected_substrings = ('tlsv1 alert unknown ca', )
if (
- IS_WINDOWS
- and tls_verify_mode in (
+ tls_verify_mode in (
ssl.CERT_REQUIRED,
ssl.CERT_OPTIONAL,
)
@@ -361,6 +358,7 @@ def test_tls_client_auth(
"SysCallError(10054, 'WSAECONNRESET')",
"('Connection aborted.', "
'OSError("(10054, \'WSAECONNRESET\')"))',
+ 'OSError("(104, \'ECONNRESET\')"))',
)
assert any(e in err_text for e in expected_substrings)

View File

@@ -25,7 +25,7 @@ buildPythonPackage rec {
homepage = http://liw.fi/cliapp/;
description = "Python framework for Unix command line programs";
license = licenses.gpl2;
maintainers = with maintainers; [ rickynils ];
maintainers = [];
};
}

View File

@@ -6,11 +6,11 @@
}:
buildPythonPackage rec {
pname = "cmd2";
version = "0.9.15";
version = "0.9.16";
src = fetchPypi {
inherit pname version;
sha256 = "0k3y3czpabw173vhqg523l2r804jj08986wlz6vyh224zr0ngggw";
sha256 = "0ggvh38mc1kkrlqdicjz5a16j5v6f6z0nwmcvv8i3y5gaffkfy2b";
};
LC_ALL="en_US.UTF-8";

View File

@@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "crc16";
version = "0.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "15nkx0pa4lskwin84flpk8fsw3jqg6wic6v3s83syjqg76h6my61";
};
meta = with stdenv.lib; {
homepage = "https://code.google.com/archive/p/pycrc16/";
description = "Python library for calculating CRC16";
license = licenses.lgpl3;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "cupy";
version = "6.0.0";
version = "6.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "168xi92pfk80n2k47qc5zim7jai3kcmj3j157fynz9c8dfw4sbn4";
sha256 = "0d6liaavgqks772rqam53qha3yk6dfw24i0pj3izxvvawzhlp10z";
};
checkInputs = [

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "cx_Oracle";
version = "7.1.3";
version = "7.2.2";
buildInputs = [ odpic ];
src = fetchPypi {
inherit pname version;
sha256 = "4f26b7418e2796112f8b36338a2f9a7c07dd08df53d857e3478bb53f61dd52e4";
sha256 = "1kp6fgyln0jkdbjm20h6rhybsmvqjj847frhsndyfvkf38m32ss0";
};
preConfigure = ''

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "deprecation";
version = "2.0.6";
version = "2.0.7";
src = fetchPypi {
inherit pname version;
sha256 = "68071e5ae7cd7e9da6c7dffd750922be4825c7c3a6780d29314076009cc39c35";
sha256 = "1vcjy6flqbzgjh4zhcs0sl83b946wxrlsx5miliz0ik1d9kjyff0";
};
propagatedBuildInputs = [ packaging ];

View File

@@ -28,12 +28,12 @@
buildPythonPackage rec {
pname = "distributed";
version = "1.28.1";
version = "2.3.0";
# get full repository need conftest.py to run tests
src = fetchPypi {
inherit pname version;
sha256 = "12n487qn66jkgq4nd3vgyc9hfqw4i7zwr4dyybsqm4xmgs5kzn1v";
sha256 = "15lb6fz3739nkyxi1igzm5p2lk40digkc9fkzjqx1jpymfac9dwl";
};
checkInputs = [ pytest pytest-repeat pytest-faulthandler pytest-timeout mock joblib ];

View File

@@ -0,0 +1,30 @@
{ stdenv, buildPythonPackage, fetchPypi, django-gravatar2, django_compressor
, django-allauth, mailmanclient, django, mock
}:
buildPythonPackage rec {
pname = "django-mailman3";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "0v6c1jhcc212wc2xa314irfcchl05r7nysrcy63dcaan958kmnnx";
};
propagatedBuildInputs = [
django-gravatar2 django_compressor django-allauth mailmanclient
];
checkInputs = [ django mock ];
checkPhase = ''
cd $NIX_BUILD_TOP/$sourceRoot
PYTHONPATH=.:$PYTHONPATH django-admin.py test --settings=django_mailman3.tests.settings_test
'';
meta = with stdenv.lib; {
description = "Django library for Mailman UIs";
homepage = https://gitlab.com/mailman/django-mailman3;
license = licenses.gpl3;
maintainers = with maintainers; [ globin peti ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "django-webpack-loader";
version = "0.2.4";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "1bwpgmkh32d7a5dgppin9m0mnh8a33ccl5ksnpw5vjp4lal3xq73";
sha256 = "087mspmx74qbcknpbksl66rsyin0dc5aglhjmmpk999pl2wvdfk0";
};
# django.core.exceptions.ImproperlyConfigured (path issue with DJANGO_SETTINGS_MODULE?)

View File

@@ -2,18 +2,21 @@
, buildPythonPackage
, fetchPypi
, pytz
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "django-modelcluster";
version = "4.4";
version = "5.0";
src = fetchPypi {
inherit pname version;
sha256 = "02mrs7aapabapfh7h7n71s8r7zxkmad3yk4rdyfwcf0x36326rsr";
sha256 = "0zcn1b0lp9dg6xvz8p8v1hrrgqj71izqalqz2dp1nz5rbj3s34x2";
};
disabled = pythonOlder "3.5";
doCheck = false;
propagatedBuildInputs = [ pytz six ];

View File

@@ -23,14 +23,14 @@
buildPythonPackage rec {
pname = "django-silk";
version = "3.0.2";
version = "3.0.3";
# pypi tarball doesn't include test project
src = fetchFromGitHub {
owner = "jazzband";
repo = "django-silk";
rev = version;
sha256 = "1fbaafc2gx01gscdalp6hj6bz4b0cmq59lgmvsydw7jkds4mps7c";
sha256 = "0j1r88zv7fvmlnrzr2h65czzdcpvl7n847ra1pfc52bfa4lf8b9j";
};
# "test_time_taken" tests aren't suitable for reproducible execution, but django's
# test runner doesn't have an easy way to ignore tests - so instead prevent it from picking

View File

@@ -1,4 +1,4 @@
{ buildPythonPackage, dlib, python, pytest, avxSupport ? true }:
{ buildPythonPackage, dlib, python, pytest, more-itertools, avxSupport ? true, lib }:
buildPythonPackage {
inherit (dlib) name src nativeBuildInputs buildInputs meta;
@@ -10,9 +10,15 @@ buildPythonPackage {
${python.interpreter} nix_run_setup test --no USE_AVX_INSTRUCTIONS
'';
setupPyBuildFlags = [ "--${if avxSupport then "yes" else "no"} USE_AVX_INSTRUCTIONS" ];
setupPyBuildFlags = lib.optional avxSupport "--no USE_AVX_INSTRUCTIONS";
patches = [ ./build-cores.patch ];
checkInputs = [ pytest ];
postPatch = ''
substituteInPlace setup.py \
--replace "more-itertools<6.0.0" "more-itertools" \
--replace "pytest==3.8" "pytest"
'';
checkInputs = [ pytest more-itertools ];
}

View File

@@ -11,6 +11,7 @@
, fetchurl
, dbus
, xvfb_run
, wrapGAppsHook
# , fetchPypi
}:
@@ -32,8 +33,9 @@ buildPythonPackage rec {
./nix-support.patch
];
nativeBuildInputs = [ gobject-introspection dbus xvfb_run ]; # for setup hooks
nativeBuildInputs = [ gobject-introspection dbus xvfb_run wrapGAppsHook ]; # for setup hooks
propagatedBuildInputs = [ at-spi2-core gtk3 pygobject3 pyatspi pycairo ];
strictDeps = false; # issue 56943
checkPhase = ''
runHook preCheck

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "dominate";
version = "2.3.5";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0lda2a4nxxh9wp727vhn31rl5v7y9fxkscdjawg7gzj50xf76xj0";
sha256 = "1775cz6lipb43hmjll77m2pxh72pikng74lpg30v9n1b66s78959";
};
doCheck = !isPy3k;

View File

@@ -0,0 +1,14 @@
{ buildPythonPackage, fetchPypi, atpublic, zope_interface, nose2 }:
buildPythonPackage rec {
pname = "flufl.bounce";
version = "3.0";
buildInputs = [ nose2 ];
propagatedBuildInputs = [ atpublic zope_interface ];
src = fetchPypi {
inherit pname version;
sha256 = "0k5kjqa3x6gvwwxyzb2vwi1g1i6asm1zw5fivylxz3d583y4kid2";
};
}

View File

@@ -0,0 +1,13 @@
{ buildPythonPackage, fetchPypi, atpublic }:
buildPythonPackage rec {
pname = "flufl.i18n";
version = "2.0.2";
propagatedBuildInputs = [ atpublic ];
src = fetchPypi {
inherit pname version;
sha256 = "1csgds59nx0ann9v2alqr69lakp1cnc1ikmbgn96l6n23js7c2ah";
};
}

View File

@@ -0,0 +1,13 @@
{ buildPythonPackage, fetchPypi, atpublic }:
buildPythonPackage rec {
pname = "flufl.lock";
version = "3.2";
propagatedBuildInputs = [ atpublic ];
src = fetchPypi {
inherit pname version;
sha256 = "0nzzd6l30ff6cwsrlrb94xzfja4wkyrqv3ydc6cz0hdbr766mmm8";
};
}

View File

@@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, tkinter, supercollider }:
buildPythonPackage rec {
pname = "FoxDot";
version = "0.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "147n2c9rwmrby8rr6xfxlh7mfm12lqk2a7v1gxlzhq1i2jj1j5h4";
};
propagatedBuildInputs = [ tkinter supercollider ];
# Requires a running SuperCollider instance
doCheck = false;
meta = with stdenv.lib; {
description = "Live coding music with SuperCollider";
homepage = https://foxdot.org/;
license = licenses.cc-by-sa-40;
maintainers = with maintainers; [ mrmebelman ];
};
}

View File

@@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "ftfy";
version = "5.5.1";
version = "5.6";
# ftfy v5 only supports python3. Since at the moment the only
# packages that use ftfy are spacy and textacy which both support
# python 2 and 3, they have pinned ftfy to the v4 branch.
@@ -20,7 +20,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "1ci6xrj4g01a97nymxpv9nj820nlmgzc4ybaz9k46i6bnxzpax7s";
sha256 = "1k4vr5rfa62yafwpmb4827n50pwb79if0vhg1y4yqbb0bv20jxbd";
};
propagatedBuildInputs = [

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "funcy";
version = "1.12";
version = "1.13";
src = fetchPypi {
inherit pname version;
sha256 = "0vdbh0ykmjsvq4vb3hrx5327q9ccl1jhbjca59lsr0v0ghwb0grz";
sha256 = "1hxii7g4fn301vr8wg53jc1jkvbjlbaz1fbpgpn4362xcwzk73wi";
};
# No tests

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "geojson";
version = "2.4.1";
version = "2.5.0";
format = "wheel";
src = fetchPypi {
inherit pname version format;
sha256 = "12k4g993qqgrhq2mgy5k8rhm5a2s2hbn769rs5fwbc5lwv4bbgxj";
sha256 = "1filqm050ixy53kdv81bd4n80vjvfapnmzizy7jg8a6pilv17gfc";
};
LC_ALL = "en_US.UTF-8";

View File

@@ -3,20 +3,19 @@
, fetchPypi
, isPy3k
, gevent
, gunicorn
}:
buildPythonPackage rec {
pname = "gevent-websocket";
version = "0.10.1";
# SyntaxError in tests.
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1c2zv2rahp1gil3cj66hfsqgy0n35hz9fny3ywhr2319d0lz7bky";
};
propagatedBuildInputs = [ gevent ];
propagatedBuildInputs = [ gevent gunicorn ];
meta = with stdenv.lib; {
homepage = https://www.gitlab.com/noppo/gevent-websocket;

View File

@@ -48,7 +48,7 @@ else buildPythonPackage rec {
meta = with stdenv.lib; {
homepage = http://graphite.wikidot.com/;
description = "Enterprise scalable realtime graphing";
maintainers = with maintainers; [ rickynils offline basvandijk ];
maintainers = with maintainers; [ offline basvandijk ];
license = licenses.asl20;
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "grpcio-tools";
version = "1.22.0";
version = "1.23.0";
src = fetchPypi {
inherit pname version;
sha256 = "b5c0fe51a155625c9d1132ab8deb56b3015e111a6961e48aeb9dd89bd7c670ab";
sha256 = "cbc35031ec2b29af36947d085a7fbbcd8b79b84d563adf6156103d82565f78db";
};
enableParallelBuilding = true;

View File

@@ -4,14 +4,14 @@
buildPythonPackage rec {
pname = "grpcio";
version = "1.22.0";
version = "1.23.0";
src = fetchFromGitHub {
owner = "grpc";
repo = "grpc";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "093w8mgvl8ylqlqnfz06ijkmlnkxcjszf9zg6k5ybjw7dwal0jhz";
sha256 = "18hf794frncqvq3n4j5n8kip0gp6ch4pf5b3n6809q0c1paf6rp5";
};
nativeBuildInputs = [ cython pkgconfig ]

View File

@@ -18,13 +18,13 @@
buildPythonPackage rec {
pname = "gssapi";
version = "1.6.0";
version = "1.6.1";
src = fetchFromGitHub {
owner = "pythongssapi";
repo = "python-${pname}";
rev = "v${version}";
sha256 = "1chmxhjbs39paaxlfsdrr13v4zvv94ijvhxasdphxlxkqlycbm4a";
sha256 = "0n13vb3v50vr04vrnql2w00gri0gcf08i0pr0q2p4w8scbsw7kjk";
};
# It's used to locate headers

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "invoke";
version = "1.2.0";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "1dr1a5qbb9z5hyns4zk086zm0iqbms33zv0s1296wx502y7jyjfw";
sha256 = "1nn7gad0rvy492acpyhkrp01zsk86acf34qhsvq4xmm6x39788n5";
};
patchPhase = ''

View File

@@ -14,12 +14,12 @@
buildPythonPackage rec {
pname = "jenkins-job-builder";
version = "2.10.1";
version = "3.0.1";
disabled = !isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0iynzxrjmdkrriw4pcf8as8afckvmq4jk457lxg52wh29l39wb30";
sha256 = "16x97pdr90x3xsc1xl66l7q77pgja5dzsk921by2h09k7dvxaqmh";
};
postPatch = ''

View File

@@ -30,6 +30,6 @@ buildPythonPackage rec {
description = "Jupyter core package. A base package on which Jupyter projects rely";
homepage = https://jupyter.org/;
license = licenses.bsd3;
maintainers = with maintainers; [ fridh globin ];
maintainers = with maintainers; [ fridh ];
};
}

View File

@@ -26,7 +26,7 @@ buildPythonPackage rec {
homepage = http://liw.fi/larch/;
description = "Python B-tree library";
license = licenses.gpl3;
maintainers = with maintainers; [ rickynils ];
maintainers = [];
};
}

View File

@@ -5,13 +5,13 @@
buildPythonPackage rec {
pname = "lark-parser";
version = "0.7.2";
version = "0.7.3";
src = fetchFromGitHub {
owner = "lark-parser";
repo = "lark";
rev = version;
sha256 = "05na4izlq34bmij8awmfn58liinmsh8qzh6948knk5ms5nsh50cp";
sha256 = "1d8dbn8wwqqvvjyhai813sqkx6366d8jkjq0gkyh51692pflmwrp";
};
# tests of Nearley support require js2py

View File

@@ -0,0 +1,13 @@
{ buildPythonPackage, fetchPypi, lazr_delegates }:
buildPythonPackage rec {
pname = "lazr.config";
version = "2.2.1";
propagatedBuildInputs = [ lazr_delegates ];
src = fetchPypi {
inherit pname version;
sha256 = "1s7pyvlq06qjrkaw9r6nc290lb095n25ybzgavvy51ygpxkgqxwn";
};
}

View File

@@ -0,0 +1,15 @@
{ buildPythonPackage, fetchPypi, nose, zope_interface }:
buildPythonPackage rec {
pname = "lazr.delegates";
version = "2.0.4";
propagatedBuildInputs = [ nose zope_interface ];
doCheck = false; # cannot import name 'ClassType' from 'types'
src = fetchPypi {
inherit pname version;
sha256 = "1rdnl85j9ayp8n85l0ciip621j9dcziz5qnmv2m7krgwgcn31vfx";
};
}

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "apache-libcloud";
version = "2.4.0";
version = "2.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "0daj3mkzw79v5zin2r1s2wkrz1hplfc16bwj4ss68i5qjq4l2p0j";
sha256 = "1dj8jh5ccjv7qbydf49cw17py7z3jjkaxk4jj2gx6mq2f4w304wg";
};
checkInputs = [ mock pytest pytestrunner requests-mock ];

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "libkeepass";
version = "0.3.0";
version = "0.3.1.post1";
src = fetchPypi {
inherit pname version;
sha256 = "3ed79ea786f7020b14b83c082612ed8fbcc6f8edf65e1697705837ab9e40e9d7";
sha256 = "0pwg7n9xqcjia1qmz6g48h5s31slh3mxmcqag73gq4zhl4xb6bai";
};
propagatedBuildInputs = [ lxml pycryptodome colorama ];

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "lmdb";
version = "0.96";
version = "0.97";
src = fetchPypi {
inherit pname version;
sha256 = "0wpahad7wac34r1hxa1jhk0bsll39n7667cljyr5251kj12ksfgr";
sha256 = "0jw3n14x6qg5wps2w4qkqf4pyan949h1s2nbkrz2qh7xwnnp2g8p";
};
checkInputs = [ pytest cffi ];

View File

@@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi, six, httplib2 }:
buildPythonPackage rec {
pname = "mailmanclient";
version = "3.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "0xsrzdrsmfhnxv68zwm1g6awk7in08k6yhkyd27ipn0mq1wjm5jd";
};
propagatedBuildInputs = [ six httplib2 ];
meta = with stdenv.lib; {
homepage = "http://www.gnu.org/software/mailman/";
description = "REST client for driving Mailman 3";
license = licenses.lgpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ peti globin ];
};
}

View File

@@ -17,7 +17,7 @@ buildPythonPackage rec {
sha256 = "0yq1bcsjzsz7yz4rp69izsdn47rvkld4wki2xmapp8gg2s9i8709";
};
buildInputs = [ pytest mock ];
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ six ];
checkPhase = "py.test tests.py";

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "moderngl";
version = "5.5.0";
version = "5.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "0x8xblc3zybp7jw9cscpm4r5pmmilj9l4yi1rkxyf0y80kchlxq4";
sha256 = "1k2yf2yglzx65gcv2bqql6w6lmgyp3f1jz4ddq9vylf09a8j7fga";
};
disabled = !isPy3k;
@@ -23,7 +23,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with lib; {
homepage = https://github.com/cprogrammer1994/ModernGL;
homepage = https://github.com/moderngl/moderngl;
description = "High performance rendering for Python 3";
license = licenses.mit;
platforms = platforms.linux; # should be mesaPlatforms, darwin build breaks.

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "moretools";
version = "0.1.9";
version = "0.1.10";
src = fetchPypi {
inherit pname version;
sha256 = "f531cc79b7cd0c4aab590d5d4d0291f7cf6f083398be1dd523224b3385b732f4";
sha256 = "1rvd9kl0163gm5kqwsb2m44x87sp72k5pirvcmhy2ffix4pzadqp";
};
checkPhase = ''

View File

@@ -20,16 +20,12 @@ buildPythonPackage rec {
sha256 = "b13c0b8459d6fb0688f9a4e70feeec43fa2cca05b727fc01156789596e083bb1";
};
patchPhase = ''
sed -i 's@python@${python.interpreter}@' .testr.conf
'';
buildInputs = [ subunit testrepository testtools six ];
propagatedBuildInputs = [ pbr fixtures ];
# FAIL: mox3.tests.test_mox.RegexTest.testReprWithFlags
# ValueError: cannot use LOCALE flag with a str pattern
doCheck = !isPy36;
# Disabling as several tests depdencies are missing:
# https://opendev.org/openstack/mox3/src/branch/master/test-requirements.txt
doCheck = false;
meta = with stdenv.lib; {
description = "Mock object framework for Python";

View File

@@ -1,20 +1,17 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, isPy3k
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
, pafy
}:
buildPythonPackage rec {
pname = "mps-youtube";
version = "0.2.7.1";
version = "0.2.8";
disabled = (!isPy3k);
src = fetchFromGitHub {
owner = "mps-youtube";
repo = "mps-youtube";
rev = "v${version}";
sha256 = "16zn5gwb3568w95lr21b88zkqlay61p1541sa9c3x69zpi8v0pys";
sha256 = "1w1jhw9rg3dx7vp97cwrk5fymipkcy2wrbl1jaa38ivcjhqg596y";
};
propagatedBuildInputs = [ pafy ];
@@ -29,11 +26,10 @@ buildPythonPackage rec {
export XDG_CONFIG_HOME=$(pwd)/check-phase
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Terminal based YouTube player and downloader";
homepage = https://github.com/np1/mps-youtube;
license = licenses.gpl3;
maintainers = with maintainers; [ odi ];
};
}

View File

@@ -1,25 +1,33 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
{ stdenv, buildPythonPackage, fetchFromGitHub, python, isPy27
, mpv
}:
buildPythonPackage rec {
pname = "mpv";
version = "0.1";
version = "0.3.9";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0b9kd70mshdr713f3l1lbnz1q0vlg2y76h5d8liy1bzqm7hjcgfw";
src = fetchFromGitHub {
owner = "jaseg";
repo = "python-mpv";
rev = "v${version}";
sha256 = "112kr9wppcyy3shsb7v7kq0s1pdw6vw3v2fvqicm7qb2f49y2p4q";
};
buildInputs = [ pkgs.mpv ];
patchPhase = "substituteInPlace mpv.py --replace libmpv.so ${pkgs.mpv}/lib/libmpv.so";
buildInputs = [ mpv ];
postPatch = ''
substituteInPlace mpv.py \
--replace "sofile = ctypes.util.find_library('mpv')" \
'sofile = "${mpv}/lib/libmpv${stdenv.targetPlatform.extensions.sharedLibrary}"'
'';
# tests impure, will error if it can't load libmpv.so
checkPhase = "${python.interpreter} -c 'import mpv'";
meta = with stdenv.lib; {
description = "A python interface to the mpv media player";
homepage = "https://github.com/jaseg/python-mpv";
license = licenses.agpl3;
};
}

View File

@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "mysqlclient";
version = "1.4.2.post1";
version = "1.4.4";
nativeBuildInputs = [
mysql.connector-c
@@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "f257d250f2675d0ef99bd318906f3cfc05cef4a2f385ea695ff32a3f04b9f9a7";
sha256 = "1379hab7spjp9v5fypqgy0b8vr8vnalxahm9hcsxvj2xbb2pqwww";
};
meta = with stdenv.lib; {

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "nameparser";
version = "1.0.3";
version = "1.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "c01ec7d0bc093420a45d8b5ea8261a84ba12bff0cabf47cb15b716c5ea8f3d23";
sha256 = "1kc2phcz22r7vim3hmq0vrp2zqxl6v49hq40jmp4p81pdvgh5c6b";
};
LC_ALL="en_US.UTF-8";

View File

@@ -48,6 +48,6 @@ buildPythonPackage rec {
description = "Converting Jupyter Notebooks";
homepage = https://jupyter.org/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh globin ];
maintainers = with lib.maintainers; [ fridh ];
};
}

View File

@@ -29,6 +29,6 @@ buildPythonPackage rec {
description = "A tool to merge/concatenate Jupyter (IPython) notebooks";
inherit (src.meta) homepage;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ globin ];
maintainers = with lib.maintainers; [ ];
};
}

View File

@@ -1,13 +1,13 @@
{ fetchPypi, buildPythonPackage, lib, six, singledispatch, isPy3k }:
buildPythonPackage rec {
version = "3.4.4";
version = "3.4.5";
pname = "nltk";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1dbwwhsbsp31bvvksq7kyrfs6s27lp8wgwqs4qf6hajkz2jj0k3n";
sha256 = "153x2clrnigs74jdgnn3qmljdjj4gprmvpdvh49i18ls4m8mbm5y";
};
propagatedBuildInputs = [ six ] ++ lib.optional (!isPy3k) singledispatch;

View File

@@ -1,14 +1,14 @@
{ stdenv, fetchPypi, buildPythonPackage, pytest }:
buildPythonPackage rec {
version = "0.6.1";
version = "0.7.0";
pname = "node-semver";
checkInputs = [ pytest ];
src = fetchPypi {
inherit pname version;
sha256 = "1dv6mjsm67l1razcgmq66riqmsb36wns17mnipqr610v0z0zf5j0";
sha256 = "1p7ink1wajkc31r05k1yn37gk377033a9vhin8v4j757d4ha1f91";
};
meta = with stdenv.lib; {

View File

@@ -68,6 +68,6 @@ buildPythonPackage rec {
description = "The Jupyter HTML notebook is a web-based notebook environment for interactive computing";
homepage = https://jupyter.org/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh globin ];
maintainers = with lib.maintainers; [ fridh ];
};
}

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "openapi-spec-validator";
version = "0.2.7";
version = "0.2.8";
src = fetchPypi {
inherit pname version;
sha256 = "1sz9ls6a7h056nc5q76w4xl43sr1h9in2f23qwkxazcazr3zpi3p";
sha256 = "1kav0jlgdpgwx4am09ja7cr8s1g8h8a7j8mcfy1cfjr8fficg2g4";
};
propagatedBuildInputs = [ jsonschema pyyaml six ]

View File

@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "parsel";
version = "1.5.1";
version = "1.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "9ccd82b8a122345601f6f9209e972c0e8c3518a188fcff2d37cb4d7bc570b4b8";
sha256 = "08v76s6s4li7asnyz8a7gbp9vz522rv5apranyv76mb0lhmjd92d";
};
checkInputs = [ pytest pytestrunner ];

View File

@@ -5,12 +5,11 @@
buildPythonPackage rec {
pname = "pdfkit";
version = "0.5.0";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1p1m6gp51ql3wzjs2iwds8sc3hg1i48yysii9inrky6qc3s6q5vf";
sha256 = "1lcc1njpjd2zadbljqsnkrvamschl6j099p4giz1jd6mg1ds67gg";
};
# tests are not distributed

View File

@@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "peewee";
version = "3.9.6";
version = "3.10.0";
# pypi release does not provide tests
src = fetchFromGitHub {
owner = "coleifer";
repo = pname;
rev = version;
sha256 = "1pgmsd7v73d0gqxsa4wnm9s3lyffw46wvvkqn25xgh4v8z869fg2";
sha256 = "166h7vy3j0v4h2jnyiwpmpqgmn95381a5ra40ghghy0fqd9v49g8";
};

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.10.15";
version = "8.10.16";
src = fetchPypi {
inherit pname version;
sha256 = "617b9127dc6fd29765ca122915d3b603131446a76a587deed0b92c8db53963fe";
sha256 = "1cfkyz991nbqsak3mdwybaxvzqbdcqivxnl84n8p4dyi5lk45v4b";
};
meta = {

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "plotly";
version = "4.0.0";
version = "4.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0iw0j2jwlbzknpbdpaqrjjlbycbwqhavp1crblvihf03knn7nkxz";
sha256 = "166rscpr9xbs3pwd61mivhlm1gv3chkgpk2cy0fpb86axa7z4cwk";
};
propagatedBuildInputs = [

View File

@@ -15,6 +15,6 @@ buildPythonPackage rec {
description = "A pure Python OTR implementation";
homepage = "http://python-otr.pentabarf.de/";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ globin ];
maintainers = with maintainers; [ ];
};
}

View File

@@ -14,10 +14,8 @@ in buildPythonPackage rec {
sha256 = "12yi09nyffmn4va7lzk4irw349qzlbxgsnb89dh15cnw0xmrin05";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
autoconf automake libtool libcangjie sqlite cython
];
nativeBuildInputs = [ pkgconfig libtool autoconf automake cython ];
buildInputs = [ libcangjie sqlite ];
preConfigure = ''
find . -name '*.sh' -exec sed -e 's@#!/bin/bash@${bash}/bin/bash@' -i '{}' ';'

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "PyChromecast";
version = "3.2.2";
version = "3.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "17l7nlnpqjgnrw4hzs52lbzmdxa1vm3v51mm33l4c43c1md5m2ns";
sha256 = "1fhh3djb6chs23j46hwzm1rd6hypkl517vjmmg44rxnslkcl7dhb";
};
disabled = !isPy3k;

View File

@@ -38,7 +38,10 @@ buildPythonPackage rec {
checkPhase = ''
pytest tests -k "not test_ssl_in_static_libs \
and not test_keyfunction \
and not test_keyfunction_bogus_return"
and not test_keyfunction_bogus_return \
and not test_libcurl_ssl_gnutls \
and not test_libcurl_ssl_nss \
and not test_libcurl_ssl_openssl"
'';
preConfigure = ''

View File

@@ -1,10 +1,9 @@
{ stdenv
, buildPythonPackage
, fetchPypi
{ lib, buildPythonPackage, fetchPypi, isPy27
, graphviz
, mock
, pyparsing
, pytest
, unittest2
, pkgs
}:
buildPythonPackage rec {
@@ -16,19 +15,22 @@ buildPythonPackage rec {
sha256 = "8c8073b97aa7030c28118961e2c6c92f046e4cb57aeba7df87146f7baa6530c5";
};
buildInputs = [ pytest unittest2 ];
propagatedBuildInputs = [ pkgs.graphviz pyparsing ];
propagatedBuildInputs = [ graphviz pyparsing ];
checkInputs = [
graphviz
mock
pytest
] ++ lib.optionals isPy27 [ unittest2];
checkPhase = ''
mkdir test/my_tests
py.test test
pytest
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://pypi.python.org/pypi/pydot-ng";
description = "Python 3-compatible update of pydot, a Python interface to Graphviz's Dot";
license = licenses.mit;
maintainers = [ maintainers.bcdarwin ];
maintainers = with maintainers; [ bcdarwin jonringer ];
};
}

View File

@@ -11,12 +11,12 @@
}:
buildPythonPackage rec {
version = "1.4.1";
version = "1.4.2";
pname = "pyglet";
src = fetchPypi {
inherit pname version;
sha256 = "132p484g53b9p8g3q2bcnhzyg9x37hsm4rhpscl4llngjw5fbk22";
sha256 = "1dxxrl4nc7xh3aai1clgzvk48bvd35r7ksirsddz0mwhx7jmm8px";
};
# find_library doesn't reliably work with nix (https://github.com/NixOS/nixpkgs/issues/7307).

View File

@@ -20,7 +20,7 @@ buildPythonPackage rec {
homepage = http://www.pykka.org;
description = "A Python implementation of the actor model";
license = licenses.asl20;
maintainers = with maintainers; [ rickynils ];
maintainers = [];
};
}

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "pynamodb";
version = "3.4.1";
version = "4.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1cwgqvpqn59y3zq4wv35m1v4jrh3ih6zbyv30g5nxbw13vddxr92";
sha256 = "196pab5whswy3bgi2s842asjhyka2f9mw98m84bvqjmfw0m7x4y0";
};
propagatedBuildInputs = [ python-dateutil botocore ];

View File

@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "pyodbc";
version = "4.0.26";
version = "4.0.27";
disabled = isPyPy; # use pypypdbc instead
src = fetchPypi {
inherit pname version;
sha256 = "1qrxnf7ji5hml7z4y669k4wmk3iz2pcsr05bnn1n912asash09z5";
sha256 = "1kd2i7hc1330cli72vawzby17c3039cqn1aba4i0zrjnpghjhmib";
};
buildInputs = [ unixODBC ];

View File

@@ -1,9 +1,11 @@
{ lib, buildPythonPackage, fetchPypi, requests, geojson }:
{ lib, buildPythonPackage, fetchPypi, pythonOlder, requests, geojson }:
buildPythonPackage rec {
pname = "pyowm";
version = "2.10.0";
disabled = pythonOlder "3.3";
src = fetchPypi {
inherit pname version;
sha256 = "8fd41a18536f4d6c432bc6d9ea69994efb1ea9b43688cf19523659b6f4d86cf7";
@@ -14,8 +16,7 @@ buildPythonPackage rec {
# This may actually break the package.
postPatch = ''
substituteInPlace setup.py \
--replace "requests>=2.18.2,<2.19" "requests" \
--replace "geojson>=2.3.0,<2.4" "geojson<2.5,>=2.3.0"
--replace "requests>=2.18.2,<2.19" "requests"
'';
# No tests in archive

View File

@@ -1,5 +1,6 @@
{ lib, fetchurl, pythonPackages, pkgconfig
, qmake, qtbase, qtsvg, qtwebengine
, wrapQtAppsHook
}:
let
@@ -77,9 +78,12 @@ in buildPythonPackage rec {
doCheck = true;
enableParallelBuilding = true;
passthru = {
inherit wrapQtAppsHook;
};
meta = with lib; {
description = "Python bindings for Qt5";
homepage = http://www.riverbankcomputing.co.uk;

View File

@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "pysocks";
version = "1.6.8";
version = "1.7.0";
src = fetchPypi {
pname = "PySocks";
inherit version;
sha256 = "3fe52c55890a248676fd69dc9e3c4e811718b777834bcaab7a8125cf9deac672";
sha256 = "0z4p31bpqm893cf87qqgb30k7nwd8kqfjwwjm5cvxb6zbyj1w0yr";
};
doCheck = false;

View File

@@ -37,7 +37,7 @@ buildPythonPackage rec {
homepage = http://pyspotify.mopidy.com;
description = "A Python interface to Spotifys online music streaming service";
license = licenses.unfree;
maintainers = with maintainers; [ lovek323 rickynils ];
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pytesseract";
version = "0.2.7";
version = "0.2.9";
src = fetchPypi {
inherit pname version;
sha256 = "0vyv6wnch1l5kcxqzngakx948qz90q604bl5h93x54381lq3ndj6";
sha256 = "1mjr3pa4fycdsl7xk9s8fpn2vhpgx7mrdnn5h4lyyjhz86195ivg";
};
patches = [

View File

@@ -1,6 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, ansible
, pytest
, mock
@@ -8,11 +8,13 @@
buildPythonPackage rec {
pname = "pytest-ansible";
version = "2.0.2";
version = "2.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "d69d89cbcf29e587cbe6ec4b229346edbf027d3c04944dd7bcbf3d7bba46348f";
src = fetchFromGitHub {
owner = "ansible";
repo = "pytest-ansible";
rev = "v${version}";
sha256 = "0v97sqk3q2vkmwnjlnncz8ss8086x9jg3cz0g2nzlngs4ql1gdb0";
};
patchPhase = ''
@@ -24,11 +26,11 @@ buildPythonPackage rec {
checkInputs = [ mock ];
propagatedBuildInputs = [ ansible pytest ];
# tests not included with release
# tests not included with release, even on github
doCheck = false;
checkPhase = ''
pytest
HOME=$TMPDIR pytest tests/
'';
meta = with stdenv.lib; {

View File

@@ -24,7 +24,8 @@ buildPythonPackage rec {
})
];
buildInputs = [ setuptools_scm pytest ];
buildInputs = [ setuptools_scm ];
checkInputs = [ pytest ];
checkPhase = ''
py.test

View File

@@ -21,13 +21,13 @@ in
buildPythonPackage rec {
pname = "python-language-server";
version = "0.27.0";
version = "0.28.1";
src = fetchFromGitHub {
owner = "palantir";
repo = "python-language-server";
rev = version;
sha256 = "158wxj2w880jrab7mi4fb3xqnjhmfixqacxjp7whf7jy3zxqrq38";
sha256 = "0xa0zw7hlfqqa305ic4csgfmlbxhklb5xzx72mfkcz8gcc0f5qwd";
};
# The tests require all the providers, disable otherwise.

View File

@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "python-unshare";
# pypi version doesn't support Python 3 and the package didn't update for a long time:
# https://github.com/TheTincho/python-unshare/pull/8
version = "unstable-2018-05-20";
src = fetchFromGitHub {
owner = "TheTincho";
repo = "python-unshare";
rev = "4e98c177bdeb24c5dcfcd66c457845a776bbb75c";
sha256 = "1h9biinhy5m7r2cj4abhvsg2hb6xjny3n2dxnj1336zpa082ys3h";
};
meta = with stdenv.lib; {
description = "Python bindings for the Linux unshare() syscall";
homepage = "https://github.com/thetincho/python-unshare";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@@ -6,14 +6,14 @@
buildPythonPackage rec {
pname = "rasterio";
version = "1.0.24";
version = "1.0.25";
# Pypi doesn't ship the tests, so we fetch directly from GitHub
src = fetchFromGitHub {
owner = "mapbox";
repo = "rasterio";
rev = version;
sha256 = "0k5y4h0c4cjn1xl5fayh3a001kl42vvrhjyhp5r2fwn22z56a02p";
sha256 = "15m0ajcrxjdzahdkxa3mylk87l31zz48k99bvmmx96hcl31cf347";
};
checkInputs = [ boto3 pytest pytestcov packaging hypothesis ] ++ lib.optional (!isPy3k) mock;

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "rebulk";
version = "1.0.0";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "162rad86slg4gmzxy33pnyyzm4hhcszcpjpw1vk79f3gxzvy8j8x";
sha256 = "11164sy9vwphf7iw60n4hmns2q6anazrkhc15lwi6sb2qmkjc541";
};
# Some kind of trickery with imports that doesn't work.

View File

@@ -13,10 +13,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ click colorama ];
meta = {
meta = with lib; {
description = "Reference implementation of SLIP-0039";
homepage = "https://github.com/trezor/python-shamir-mnemonic";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ "1000101" ];
license = licenses.mit;
maintainers = [ maintainers."1000101" ];
};
}

View File

@@ -1,6 +1,6 @@
{ stdenv
{ lib
, buildPythonPackage
, fetchdarcs
, fetchFromGitHub
, isPy3k
, pkgs
, cython
@@ -14,13 +14,14 @@
buildPythonPackage rec {
pname = "sipsimple";
version = "3.1.1";
version = "3.4.2";
disabled = isPy3k;
src = fetchdarcs {
url = http://devel.ag-projects.com/repositories/python-sipsimple;
src = fetchFromGitHub {
owner = "AGProjects";
repo = "python-sipsimple";
rev = "release-${version}";
sha256 = "0jdilm11f5aahxrzrkxrfx9sgjgkbla1r0wayc5dzd2wmjrdjyrg";
sha256 = "094xf343d6zjhg9jwbm3dr74zq264cyqnn22byvm2m88lnagmhmr";
};
preConfigure = ''
@@ -32,7 +33,7 @@ buildPythonPackage rec {
buildInputs = with pkgs; [ alsaLib ffmpeg libv4l sqlite libvpx ];
propagatedBuildInputs = [ cython pkgs.openssl dnspython dateutil xcaplib msrplib lxml python-otr ];
meta = with stdenv.lib; {
meta = with lib; {
description = "SIP SIMPLE implementation for Python";
homepage = http://sipsimpleclient.org/;
license = licenses.gpl3;

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "spark_parser";
version = "1.8.7";
version = "1.8.9";
src = fetchPypi {
inherit pname version;
sha256 = "4c5e6064afbb3c114749016d585b0e4f9222d4ffa97a1854c9ab70b25783ef48";
sha256 = "0np2y4jcir4a4j18wws7yzkz2zj6nqhdhn41rpq8pyskg6wrgfx7";
};
buildInputs = [ nose ];

View File

@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "sqlalchemy-utils";
version = "0.34.0";
version = "0.34.2";
src = fetchPypi {
inherit version;
pname = "SQLAlchemy-Utils";
sha256 = "0rlixs084isgxsvvpz96njqzikvg8x021sgjp4yj71jpd8blvg8f";
sha256 = "126c9p8rnnb043w57ah7idqfryczbz4vi9lzsz2cgiaig6fv52b6";
};
propagatedBuildInputs = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "tblib";
version = "1.3.2";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "436e4200e63d92316551179dc540906652878df4ff39b43db30fcf6400444fe7";
sha256 = "1k9vmw0kcbkij9lbz80imkwkhq24vgrqf1i95kv8y5aaarjda6mx";
};
meta = with stdenv.lib; {

Some files were not shown because too many files have changed in this diff Show More