Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2020-05-27 15:26:50 +02:00
277 changed files with 4061 additions and 1435 deletions

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Wand";
version = "0.5.9";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "0a4v5cwnwsjxril7514ssvdqxsad227v5w7hcfqjkqzvaf7agb3f";
sha256 = "1wg7dlz6mhjp7mkqm5f8a2ak87p1zn46b6i754ys8f29nnqq01yz";
};
postPatch = ''

View File

@@ -1,11 +1,11 @@
{ lib, buildPythonApplication, fetchPypi, pytest, chardet }:
buildPythonApplication rec {
pname = "codespell";
version = "1.16.0";
version = "1.17.1";
src = fetchPypi {
inherit pname version;
sha256 = "1s9dl07ib77gq0iq26mrdpl1c46nkfm7nlhqwxpx5vvs6a1pqfxz";
sha256 = "08ydpw8pim7rhg1x2n711hxf2y6553nx0c0aqhfi3p4wdgcfr8i5";
};
checkInputs = [ pytest chardet ];

View File

@@ -14,6 +14,6 @@ buildPythonPackage rec {
description = "A python port of YUI CSS Compressor";
homepage = "https://pypi.python.org/pypi/csscompressor";
license = stdenv.lib.licenses.bsd3;
maintainers = [stdenv.lib.maintainers.ahmedtd];
maintainers = [];
};
}

View File

@@ -1,7 +1,7 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 }:
buildPythonPackage rec {
version = "1.4.4";
version = "1.4.5";
pname = "elementpath";
disabled = isPy27; # uses incompatible class syntax
@@ -9,7 +9,7 @@ buildPythonPackage rec {
owner = "sissaschool";
repo = "elementpath";
rev = "v${version}";
sha256 = "1z7403ykfdb2zy6g4qcbjm87ibpi0k59dgmz1px7z7wy5p2vknxw";
sha256 = "1hqvi7ibhdz812dsjbyyz3rysc6242hi1k9187wwnjmilbbngi3c";
};
# avoid circular dependency with xmlschema which directly depends on this

View File

@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, h5py
, pytestCheckHook
, netcdf4
, pythonOlder
}:
buildPythonPackage rec {
pname = "h5netcdf";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "b0df12f4692817cf6d8e2fca95f689e61aa68f2f39aea90fd1790fe5ac8d2cbb";
};
propagatedBuildInputs = [
h5py
];
checkInputs = [
pytestCheckHook
netcdf4
];
disabled = pythonOlder "3.6";
dontUseSetuptoolsCheck = true;
meta = {
description = "netCDF4 via h5py";
homepage = https://github.com/shoyer/h5netcdf;
license = lib.licenses.bsd3;
};
}

View File

@@ -14,6 +14,6 @@ buildPythonPackage rec {
description = "A configurable HTML Minifier with safety features";
homepage = "https://pypi.python.org/pypi/htmlmin";
license = stdenv.lib.licenses.bsd3;
maintainers = [stdenv.lib.maintainers.ahmedtd];
maintainers = [];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "identify";
version = "1.4.15";
version = "1.4.16";
src = fetchPypi {
inherit pname version;
sha256 = "1w6vy3nk28xhnamnmh7ddawprmb1ri2yw5s9lphmpq2hpfbqvh93";
sha256 = "19zk3qmcf0afbcbfnj7cmmgr47pxhjqwa1bfdc3fp60yy10kvbgr";
};
# Tests not included in PyPI tarball

View File

@@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "jellyfish";
version = "0.7.2";
version = "0.8.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "11jja4wlzcr2pwvp3blj1jg6570zr0mpcm3nzhkbkdrbgq6wa2fb";
sha256 = "02q3d9b933hf8lyvg7w7lgmhij8bjs748vjmsfxhabai04a796d4";
};
checkInputs = [ pytest unicodecsv ];

View File

@@ -0,0 +1,35 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest
, pytest_xdist
, six }:
buildPythonPackage rec {
pname = "lazy_import";
version = "0.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "0gca9xj60qr3aprj9qdc66crr4r7hl8wzv6gc9y40nclazwawj91";
};
checkInputs = [
pytest
pytest_xdist
];
propagatedBuildInputs = [
six
];
checkPhase = ''
cd lazy_import
pytest --boxed
'';
meta = with stdenv.lib; {
description = "lazy_import provides a set of functions that load modules, and related attributes, in a lazy fashion.";
homepage = https://github.com/mnmelo/lazy_import;
license = licenses.gpl3;
maintainers = [ maintainers.marenz ];
};
}

View File

@@ -0,0 +1,40 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, isPy27
, pytest
, bokeh
, ipython
, matplotlib
, numpy
, nbconvert
, nbformat
}:
buildPythonPackage rec {
pname = "livelossplot";
version = "0.5.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "stared";
repo = pname;
rev = "v${version}";
sha256 = "164v65qglgyg38q9ajnas99rp14mvrk5hn8x76b8iy81vszmx1c0";
};
propagatedBuildInputs = [ bokeh ipython matplotlib numpy ];
checkInputs = [ pytest nbconvert nbformat ];
checkPhase = ''
pytest tests tests/external_test_examples.py
'';
meta = with stdenv.lib; {
description = "Live training loss plot in Jupyter for Keras, PyTorch, and others";
homepage = "https://github.com/stared/livelossplot";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};
}

View File

@@ -4,14 +4,14 @@
buildPythonPackage rec {
pname = "mpv";
version = "0.4.5";
version = "0.4.6";
disabled = isPy27;
src = fetchFromGitHub {
owner = "jaseg";
repo = "python-mpv";
rev = "v${version}";
sha256 = "1y80c2k4s42lzvm5dz8wi186i7rsn1vs1wn30hp6v6vs62fb91fi";
sha256 = "1fh0fdv0k2yz7l6a62hf2svpgz34dzn84sh8fnv2x7wrkwd6r8qn";
};
buildInputs = [ mpv ];

View File

@@ -12,13 +12,13 @@ let
# Therefore we create a separate env for it.
scons = pkgs.python27.withPackages(ps: [ pkgs.scons ]);
in buildPythonPackage rec {
version = "0.6.7";
version = "0.6.8.1";
pname = "Nuitka";
# Latest version is not yet on PyPi
src = fetchurl {
url = "https://github.com/kayhayen/Nuitka/archive/${version}.tar.gz";
sha256 = "09mrm7iz2wdrd7y2csbcidg6bkskjignx2pnifh4i8zlh0vm61bg";
sha256 = "1rn6i2mcljhb9nmh8qj3slcmqzs9jx8s7j8r2b7685n7751h5ipj";
};
checkInputs = [ vmprof pyqt4 ];

View File

@@ -1,12 +1,12 @@
{ buildPythonPackage, fetchPypi, lib, numpy, pytest_4 }:
buildPythonPackage rec {
version = "3.1.0";
version = "3.2.1";
pname = "opt_einsum";
src = fetchPypi {
inherit version pname;
sha256 = "edfada4b1d0b3b782ace8bc14e80618ff629abf53143e1e6bbf9bd00b11ece77";
sha256 = "165r7rsl5j94kna4q3vsaq71z23lgxd9b20dgb6abrlas6c6mdw3";
};
propagatedBuildInputs = [ numpy ];

View File

@@ -8,19 +8,20 @@
, w3lib
, lxml
, cssselect
, isPy27
}:
buildPythonPackage rec {
pname = "parsel";
version = "1.5.2";
version = "1.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "08v76s6s4li7asnyz8a7gbp9vz522rv5apranyv76mb0lhmjd92d";
sha256 = "0yawf9r3r863lwxj0n89i7h3n8xjbsl5b7n6xg76r68scl5yzvvh";
};
checkInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ functools32 six w3lib lxml cssselect ];
propagatedBuildInputs = [ six w3lib lxml cssselect ] ++ lib.optionals isPy27 [ functools32 ];
checkPhase = ''
py.test

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pdf2image";
version = "1.10.0";
version = "1.13.1";
propagatedBuildInputs = [ pillow poppler_utils ];
src = fetchPypi {
inherit pname version;
sha256 = "0bpprn5wcz414pqpvwjpd5cc0838shkw2cfvrwfiilhr09bhxbhb";
sha256 = "1l3jic687vnji952f4dp66jwiprpxskja9v4ffw3bpr6gxgq4syz";
};
meta = with stdenv.lib; {

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.12.2";
version = "8.12.4";
src = fetchPypi {
inherit pname version;
sha256 = "000vhxjlgvs0w3vywlgx1kq8wj0wk07ybnsdn1qwbamd06msvbb1";
sha256 = "021dc6kdzqh9kkrsbs08x3ibmfm4xr9hqvdnsji6l0knw1zrkia6";
};
meta = {

View File

@@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "PlexAPI";
version = "3.4.0";
version = "3.6.0";
src = fetchFromGitHub {
owner = "pkkid";
repo = "python-plexapi";
rev = version;
sha256 = "1y6mynsvkm9n2n927x8az9ch4blrjja7im9x7iyfrxahqgz0km77";
sha256 = "1lzp3367hmcpqwbkp4ckdv6hv37knwnwya88jicwl1smznpmjdfv";
};
propagatedBuildInputs = [ requests tqdm websocket_client ];

View File

@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "pyenchant";
version = "3.0.1";
version = "3.1.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0nfmckqm45fbfz795qw5hgvygdxgxchdiwp3kmm1k05z99j6mlhv";
sha256 = "14is5p40f516plzccwg6yf51zkja38abw46kybzwgyy94phr8i9b";
};
propagatedBuildInputs = [ enchant2 ];

View File

@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "pyftdi";
version = "0.49.0";
version = "0.51.2";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "eblot";
repo = pname;
rev = "v${version}";
sha256 = "063kwvgw7g4nn09pyqwqy72vnhzw0aajg23bi32vr0k49g8fx27s";
sha256 = "14mkwk44bgm6s4kqagz7nm6p6gsygmksl2628jaqh7ppblxca9as";
};
propagatedBuildInputs = [ pyusb pyserial ];

View File

@@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "pysmb";
version = "1.1.28";
version = "1.2.1";
src = fetchPypi {
inherit pname version;
format = "setuptools";
extension = "zip";
sha256 = "0x44yq440c1j3xnl7qigz2fpfzhx68n9mbj7ps7rd0kj0plcmr2q";
sha256 = "1gkh28m74rf0ic51cxahiyw4sfz3sp3dz0iggsksi917ryyinwmb";
};
propagatedBuildInputs = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "python-utils";
version = "2.3.0";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "34aaf26b39b0b86628008f2ae0ac001b30e7986a8d303b61e1357dfcdad4f6d3";
sha256 = "12c0glzkm81ljgf6pwh0d4rmdm1r7vvgg3ifzp8yp9cfyngw07zj";
};
postPatch = ''

View File

@@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, numpy
, scikitlearn
, pytorch
, torchvision
, tqdm
}:
buildPythonPackage rec {
pname = "pytorch-metric-learning";
version = "0.9.81";
disabled = isPy27;
src = fetchFromGitHub {
owner = "KevinMusgrave";
repo = pname;
rev = "cb23328aba64f7f4658374cc2920ef5d56cda5c8"; # no version tag
sha256 = "0c2dyi4qi7clln43481xq66f6r4fadrz84jphjc5phz97bp33ds8";
};
propagatedBuildInputs = [
numpy
pytorch
scikitlearn
torchvision
tqdm
];
meta = {
description = "Metric learning library for PyTorch";
homepage = "https://github.com/KevinMusgrave/pytorch-metric-learning";
changelog = "https://github.com/KevinMusgrave/pytorch-metric-learning/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}

View File

@@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pytest
, pytestcov
, flaky
, numpy
, pandas
, pytorch
, scikitlearn
, scipy
, tabulate
, tqdm
}:
buildPythonPackage rec {
pname = "skorch";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "1l576dws9drjakfsn0pfpbr48b21vpxv3vd3dz8lkbn8q71zs22r";
};
propagatedBuildInputs = [ numpy pytorch scikitlearn scipy tabulate tqdm ];
checkInputs = [ pytest pytestcov flaky pandas pytestCheckHook ];
# on CPU, these expect artifacts from previous GPU run
disabledTests = [
"test_load_cuda_params_to_cpu"
"test_pickle_load"
];
meta = with lib; {
description = "Scikit-learn compatible neural net library using Pytorch";
homepage = "https://skorch.readthedocs.io";
changelog = "https://github.com/skorch-dev/skorch/blob/master/CHANGES.md";
license = licenses.bsd3;
maintainers = with maintainers; [ bcdarwin ];
};
}

View File

@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "stripe";
version = "2.47.0";
version = "2.48.0";
# Tests require network connectivity and there's no easy way to disable
# them. ~ C.
@@ -10,7 +10,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "14skddrf2nl25bvcyys0bgibjqkcivvfdywzldqjzyqvbwr4mkal";
sha256 = "1w9ns4jjj0p50im9vbjn084zph1g2sfa6l01ydl98qsyj76f4psi";
};
propagatedBuildInputs = [ requests ];

View File

@@ -1,24 +1,24 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyparsing
, isPy3k
, pythonOlder
, pytest
}:
buildPythonPackage rec {
pname = "svgwrite";
version = "1.3.1";
version = "1.4";
src = fetchFromGitHub {
owner = "mozman";
repo = "svgwrite";
rev = "v${version}";
sha256 = "14wz0y118a5wwfzin6cirr9254p4y825lnrnackihdbpw22gcw11";
sha256 = "15xjz5b4dw1sg3a5k4wmzky4h5v1n937id8vl6hha1a2xj42z2s5";
};
propagatedBuildInputs = [
pyparsing
];
# svgwrite requires Python 3.6 or newer
disabled = pythonOlder "3.6";
checkInputs = [
pytest

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "trimesh";
version = "3.6.36";
version = "3.6.38";
src = fetchPypi {
inherit pname version;
sha256 = "1m8dqqyzazrjk4d32cqn4d8gvbfcwgs2qbmgvpi2f2mi5vnp6d85";
sha256 = "0rdffk6a1jlfanb4i0prvy68qya8waa390yyw2kix4ja8fk7y6sx";
};
propagatedBuildInputs = [ numpy ];

View File

@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "unidiff";
version = "0.5.5";
version = "0.6.0";
# PyPI tarball doesn't ship tests
src = fetchFromGitHub {
owner = "matiasb";
repo = "python-unidiff";
rev = "v${version}";
sha256 = "1nvi7s1nn5p7j6aql1nkn2kiadnfby98yla5m3jq8xwsx0aplwdm";
sha256 = "0farwkw0nbb5h4369pq3i6pp4047hav0h88ba55rzz5k7mr25rgi";
};
meta = with lib; {

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "update_checker";
version = "0.16";
version = "0.17";
src = fetchPypi {
inherit pname version;
sha256 = "1f38l40d32dm0avcidf3dmikma8z0la84yngj88v4xygzi399qvh";
sha256 = "0qhfn5fjjab50gbnj2053wdfppzkydqgapfz35ymrm1vysvqvvrd";
};
propagatedBuildInputs = [ requests ];

View File

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