Merge branch 'master' into staging-next

There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
This commit is contained in:
Vladimír Čunát
2019-08-24 08:19:05 +02:00
865 changed files with 29587 additions and 14316 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

@@ -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

@@ -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

@@ -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

@@ -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,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,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

@@ -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

@@ -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

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

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

@@ -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

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

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

@@ -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; {

View File

@@ -267,9 +267,9 @@ let
# cudaSupport causes fetch of ncclArchive, resulting in different hashes
sha256 = if cudaSupport then
"1rbzvir569ch33bpvm47byx954vr80rjnzrbgs4rg3bqww73hr3k"
"19ll3f1i5qzd7ngz3m2jbxzgcrdjx5sv6kv2j5mcb8g3xsws8j5x"
else
"1wnhma450zh72raiq7ddd9lyq3a056cjqiy6i7y4sidiy09ncvcg";
"0y9kw3k4yvrxwdy7zry7nip9mdiwyv35r6mx65g4w7qajiypfc7i";
};
buildAttrs = {

View File

@@ -22,7 +22,7 @@ buildPythonPackage rec {
homepage = http://liw.fi/tracing/;
description = "Python debug logging helper";
license = licenses.gpl3;
maintainers = with maintainers; [ rickynils ];
maintainers = [];
};
}

View File

@@ -40,10 +40,10 @@ buildPythonPackage rec {
runHook postCheck
'';
meta = {
meta = with lib; {
description = "Python library for communicating with TREZOR Bitcoin Hardware Wallet";
homepage = "https://github.com/trezor/trezor-firmware/tree/master/python";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ np prusnak mmahut "1000101" ];
license = licenses.gpl3;
maintainers = with maintainers; [ np prusnak mmahut maintainers."1000101" ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "trollius";
version = "2.2";
version = "2.2.post1";
src = fetchPypi {
inherit pname version;
sha256 = "093978388qvw5hyscbbj062dbdc2761xs9yzrq26mh63g689lnxk";
sha256 = "06s44k6pcq35vl5j4i2pgkpb848djal818qypcvx44gyn4azjrqn";
};
checkInputs = [ mock ] ++ lib.optional (!isPy3k) unittest2;

View File

@@ -24,7 +24,7 @@ buildPythonPackage rec {
homepage = http://liw.fi/ttystatus/;
description = "Progress and status updates on terminals for Python";
license = licenses.gpl3;
maintainers = with maintainers; [ rickynils ];
maintainers = [];
};
}

View File

@@ -19,7 +19,7 @@ buildPythonPackage rec {
homepage = https://launchpad.net/txamqp;
description = "Library for communicating with AMQP peers and brokers using Twisted";
license = licenses.asl20;
maintainers = with maintainers; [ rickynils ];
maintainers = [];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "uncertainties";
version = "3.1.1";
version = "3.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "18b184110cbe31303d25a7bc7f73d51b9cb4e15563cb9aa25ccfbd0ebe07d448";
sha256 = "07kahmr0vfmncf8y4x6ldjrghnd4gsf0fwykgjj5ijvqi9xc21xs";
};
buildInputs = [ nose numpy ];

View File

@@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "uproot";
version = "3.7.0";
version = "3.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "0glsl57ha0d4pn5q318dmzml7crml1h8yilbhxh768wcs2030s1g";
sha256 = "06s0lym5md59pj8w89acnwk0i0hh92az187h4gz22mb849h308pw";
};
nativeBuildInputs = [ pytestrunner ];

View File

@@ -1,32 +1,14 @@
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch }:
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage (rec {
buildPythonPackage rec {
pname = "urwid";
version = "1.3.1";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "18cnd1wdjcas08x5qwa5ayw6jsfcn33w4d9f7q3s29fy6qzc1kng";
sha256 = "1g6cpicybvbananpjikmjk8npmjk4xvak1wjzji62wc600wkwkb4";
};
patches = [
# fix tests
(fetchpatch {
url = "https://github.com/urwid/urwid/commit/4b0ed8b6030450e6d99909a7c683e9642e546387.patch";
sha256 = "0azpn0ylbg8mfpr0y27n4lnq0ph75a4d4m9wdv3napnhf1vh9ahx";
})
# fix tests
(fetchpatch {
url = "https://github.com/floppym/urwid/commit/f68f2cf089cfd5ec45863baf59a91d5aeb0cf5c3.patch";
sha256 = "1b3vz7mrwz2bqvdwvbyv2j835f9lzapgw0j2km4sam76bxmgfpgq";
})
];
postPatch = ''
# Several tests keep failing on Hydra
rm urwid/tests/test_vterm.py
'';
meta = with stdenv.lib; {
description = "A full-featured console (xterm et al.) user interface library";
homepage = http://excess.org/urwid;
@@ -34,4 +16,4 @@ buildPythonPackage (rec {
license = licenses.lgpl21;
maintainers = with maintainers; [ ];
};
})
}

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "voluptuous-serialize";
version = "2.1.0";
version = "2.2.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "d30fef4f1aba251414ec0b315df81a06da7bf35201dcfb1f6db5253d738a154f";
sha256 = "0ggiisrq7cbk307d09fdwfdcjb667jv90lx6gfwhxfpxgq66cccb";
};
propagatedBuildInputs = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "voluptuous";
version = "0.11.5";
version = "0.11.7";
src = fetchPypi {
inherit pname version;
sha256 = "567a56286ef82a9d7ae0628c5842f65f516abcb496e74f3f59f1d7b28df314ef";
sha256 = "0mplkcpb5d8wjf8vk195fys4y6a3wbibiyf708imw33lphfk9g1a";
};
checkInputs = [ nose ];

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "w3lib";
version = "1.20.0";
version = "1.21.0";
src = fetchPypi {
inherit pname version;
sha256 = "1mqwlc1cr15jxr3gr8pqqh5gf0gppm2kcvdi8vid6y8wmq9bjkg5";
sha256 = "05a3fxi4f43n0dc87lizsy2h84dxvqjy0q6rhkyabdbhypz5864b";
};
buildInputs = [ six pytest ];

View File

@@ -15,7 +15,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
homepage = http://graphite.wikidot.com/;
description = "Fixed size round-robin style database";
maintainers = with maintainers; [ rickynils offline basvandijk ];
maintainers = with maintainers; [ offline basvandijk ];
license = licenses.asl20;
};
}

View File

@@ -20,7 +20,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
homepage = https://ws4py.readthedocs.org;
description = "A WebSocket package for Python";
maintainers = with maintainers; [ rickynils ];
maintainers = [];
license = licenses.bsd3;
};
}

View File

@@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, h11, enum34, pytest }:
buildPythonPackage rec {
pname = "wsproto";
version = "0.14.1";
src = fetchPypi {
inherit pname version;
sha256 = "051s127qb5dladxa14n9nqajwq7xki1dz1was5r5v9df5a0jq8pd";
};
propagatedBuildInputs = [ h11 enum34 ];
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with lib; {
description = "Pure Python, pure state-machine WebSocket implementation";
homepage = https://github.com/python-hyper/wsproto/;
license = licenses.mit;
};
}

View File

@@ -1,15 +1,20 @@
{ lib, buildPythonPackage, fetchPypi, h11, enum34, pytest }:
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy36
, dataclasses
, h11
, pytest
}:
buildPythonPackage rec {
pname = "wsproto";
version = "0.14.1";
version = "0.15.0";
disabled = pythonOlder "3.6"; # python versions <3.6
src = fetchPypi {
inherit pname version;
sha256 = "051s127qb5dladxa14n9nqajwq7xki1dz1was5r5v9df5a0jq8pd";
sha256 = "17gsxlli4w8am1wwwl3k90hpdfa213ax40ycbbvb7hjx1v1rhiv1";
};
propagatedBuildInputs = [ h11 enum34 ];
propagatedBuildInputs = [ h11 ] ++ lib.optional isPy36 dataclasses;
checkInputs = [ pytest ];

View File

@@ -1,8 +1,11 @@
{ lib
, stdenv
, openglSupport ? true
, libX11
, pyopengl
, buildPythonPackage
, fetchPypi
, pkgconfig
, gtk3
, libjpeg
, libtiff
, SDL
@@ -11,6 +14,16 @@
, freeglut
, xorg
, which
, cairo
, requests
, pango
, pathlib2
, python
, doxygen
, ncurses
, libpng
, gstreamer
, wxGTK
}:
buildPythonPackage rec {
@@ -22,14 +35,43 @@ buildPythonPackage rec {
sha256 = "35cc8ae9dd5246e2c9861bb796026bbcb9fb083e4d49650f776622171ecdab37";
};
nativeBuildInputs = [
pkgconfig
];
doCheck = false;
buildInputs = [
gtk3 libjpeg libtiff SDL gst-plugins-base libnotify freeglut xorg.libSM
which
];
nativeBuildInputs = [ pkgconfig which doxygen wxGTK ];
buildInputs = [ libjpeg libtiff SDL
gst-plugins-base libnotify freeglut xorg.libSM ncurses
requests libpng gstreamer libX11
pathlib2
(wxGTK.gtk)
]
++ lib.optional openglSupport pyopengl;
hardeningDisable = [ "format" ];
DOXYGEN = "${doxygen}/bin/doxygen";
preConfigure = lib.optionalString (!stdenv.isDarwin) ''
substituteInPlace wx/lib/wxcairo/wx_pycairo.py \
--replace 'cairoLib = None' 'cairoLib = ctypes.CDLL("${cairo}/lib/libcairo.so")'
substituteInPlace wx/lib/wxcairo/wx_pycairo.py \
--replace '_dlls = dict()' '_dlls = {k: ctypes.CDLL(v) for k, v in [
("gdk", "${wxGTK.gtk}/lib/libgtk-x11-2.0.so"),
("pangocairo", "${pango.out}/lib/libpangocairo-1.0.so"),
("appsvc", None)
]}'
'';
buildPhase = ''
${python.interpreter} build.py -v --use_syswx dox etg --nodoc sip build_py
'';
installPhase = ''
${python.interpreter} setup.py install --skip-build --prefix=$out
wrapPythonPrograms
'';
passthru = { inherit wxGTK openglSupport; };
meta = {
@@ -38,4 +80,4 @@ buildPythonPackage rec {
license = lib.licenses.wxWindows;
};
}
}

View File

@@ -1,18 +1,18 @@
{ stdenv
, buildPythonPackage
, fetchPypi
{ lib, buildPythonPackage, fetchFromGitHub
, click
, pytest
, six
, click
}:
buildPythonPackage rec {
pname = "xdis";
version = "4.0.1";
version = "4.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1ifakxxawyxw4w4p58m4xdc0c955miqyaq3dfbl386ipw0f50kyz";
src = fetchFromGitHub {
owner = "rocky";
repo = "python-xdis";
rev = version;
sha256 = "1h4j8hincf49zyd0rvn4bh0ypj8836y8vz3d496ycb9gjzkr6044";
};
checkInputs = [ pytest ];
@@ -22,7 +22,7 @@ buildPythonPackage rec {
make check
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Python cross-version byte-code disassembler and marshal routines";
homepage = https://github.com/rocky/python-xdis/;
license = licenses.gpl2;

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "yamllint";
version = "1.16.0";
version = "1.17.0";
src = fetchPypi {
inherit pname version;
sha256 = "1bw39aiyqspjsxps5m3skaszih8vap8kyialbzg7jjc080nyqkws";
sha256 = "04xarlbh59f9ah53jxrcpqpzladyfxaw6cb2g8clw9aid0qzi9kh";
};
checkInputs = [ nose ];

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "zict";
version = "0.1.4";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "a7838b2f21bc06b7e3db5c64ffa6642255a5f7c01841660b3388a9840e101f99";
sha256 = "04532600mnsvzv43l2jvjrn7sflg0wkjqzy7nj7m3vvxm5gd4kg3";
};
buildInputs = [ pytest ];