Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2020-05-28 22:03:48 +02:00
186 changed files with 1059 additions and 613 deletions

View File

@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "branca";
version = "0.3.1";
version = "0.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "3e762c9bdf40725f3d05ea1fda8fae9b470bfada6474e43a1242c8204a7bb15e";
sha256 = "1f7drarwiw8fh17hpq8b3p4mfqgjbh3k045dvpx5z12d3a0zg7ca";
};
checkInputs = [ pytest selenium ];

View File

@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "cftime";
version = "1.1.2";
version = "1.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "17w9myl8mg4isv4lb1nv64zim53ishi32f6m5m0s00q9a6v5qfb0";
sha256 = "1w2iakkzxfhyrqrspn40am8x7bzdp5qqdqbm1asbj7fa3mivi17x";
};
checkInputs = [ pytest coveralls pytestcov ];

View File

@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "convertdate";
version = "2.2.0";
version = "2.2.1";
# Tests are not available in the PyPI tarball so use GitHub instead.
src = fetchFromGitHub {
owner = "fitnr";
repo = pname;
rev = "v${version}";
sha256 = "04j8k7a9qndmawy3m345py74y18hw7lb6gc0qp0mr8d68x99xjq0";
sha256 = "1xgi7x9b9kxm0q51bqnmwdm5lp8vwhx5yk4d1b23r37spz9dbhw5";
};
propagatedBuildInputs = [ pymeeus pytz ];

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "datadog";
version = "0.35.0";
version = "0.36.0";
src = fetchPypi {
inherit pname version;
sha256 = "0qpy6mg9gfjxvjms0aaglzayhmdds4agv0lh05g2mkfw620nm8zl";
sha256 = "1kkbsrzxc2a6k319lh98qkinn99dzcqz8h4fm25q17dlgmc9gq9z";
};
postPatch = ''

View File

@@ -18,6 +18,7 @@
, aiohttp
, beautifulsoup4
, asgiref
, setuptools
}:
buildPythonPackage rec {
@@ -43,6 +44,7 @@ buildPythonPackage rec {
pint
pluggy
uvicorn
setuptools
];
checkInputs = [

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "Deprecated";
version = "1.2.9";
version = "1.2.10";
src = fetchPypi {
inherit pname version;
sha256 = "1k7c5kkh8jxxqdm0cbcvmhn3mwj0rcjwapwbzmm5r04n78lpvwqc";
sha256 = "0x3zkmykcyjn8k57g8lcf89fxw8q7hvvcj6xkwb0f2zrnmpscnsj";
};
propagatedBuildInputs = [ wrapt ];

View File

@@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, duckdb
, numpy
, pandas
, pybind11
, setuptools_scm
, pytestrunner
, pytest
}:
buildPythonPackage rec {
pname = "duckdb";
inherit (duckdb) version src;
postConfigure = ''
cd tools/pythonpkg
export SETUPTOOLS_SCM_PRETEND_VERSION=${version}
'';
nativeBuildInputs = [
pybind11
setuptools_scm
pytestrunner
];
checkInputs = [
pytest
];
propagatedBuildInputs = [
numpy
pandas
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "DuckDB is an embeddable SQL OLAP Database Management System";
homepage = "https://pypi.python.org/pypi/duckdb";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "elasticsearch-dsl";
version = "7.1.0";
version = "7.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "3f860e0304d703f63b458fea3782f09a823ab07da7ee84ae4bff1aa63e22aedb";
sha256 = "19q91srlcvfrk5rnk18c0mzvki9l893g7rqgymfg0p8abb9c05a0";
};
propagatedBuildInputs = [ elasticsearch python-dateutil six ]

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "FoxDot";
version = "0.8.7";
version = "0.8.8";
src = fetchPypi {
inherit pname version;
sha256 = "0c5iqdn17ip6lkf26xb1cwjvcly0448gvqmkbkvhnqy4birc8cf5";
sha256 = "06y626kgaz1wn1qajlngihpvd4qz8m6lx6sknmjqhhrznyji58wi";
};
propagatedBuildInputs = [ tkinter supercollider ];

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "GeoAlchemy2";
version = "0.7.0";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "0lnmj9jky9pz227scmjxgvd8243higl24ndc0cc668mm36cnwapc";
sha256 = "0kqxm9imqjbhjj5imvf2kl57di454xmnnsr3i0cs66ibq90nx5m8";
};
propagatedBuildInputs = [ sqlalchemy shapely ];

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "google-api-python-client";
version = "1.8.3";
version = "1.8.4";
src = fetchPypi {
inherit pname version;
sha256 = "10alijbbv3nsj7dfnv3fpx0gf1s9d4c7yjq0mv51szcx777qskmy";
sha256 = "06csvbpdv3kl806nqvh5hpag86wpafp1q9r07m7kc1fw3xhi5qmv";
};
# No tests included in archive

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "helpdev";
version = "0.6.10";
version = "0.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "9e61d24458b7506809670222ca656b139e67d46c530cd227a899780152d7b44e";
sha256 = "0gfvj28i82va7c264jl2p4cdsl3lpf9fpb9cyjnis55crfdafqmv";
};
propagatedBuildInputs = [

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "hg-evolve";
version = "9.3.1";
version = "10.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "0d3gd8k0p6n2flcf7kny1zjvrbbrwbbq4lq82ah6gvnbvllxm4hj";
sha256 = "03kn1c62y6rb851wjhsaxkrwq223hkc4ij59i85999byyb2hyqad";
};
doCheck = false;

View File

@@ -6,14 +6,14 @@
buildPythonPackage rec {
pname = "hstspreload";
version = "2020.5.5";
version = "2020.5.19";
disabled = isPy27;
src = fetchFromGitHub {
owner = "sethmlarson";
repo = pname;
rev = version;
sha256 = "0n3wp2ihjaxlq002rv141766cx4wgk0amg1cb6v30zp0m4054w7d";
sha256 = "09a5vajzw3f2kpdq9ydzx1f840xmdmzb6br3ns79mnqnsw6nfs6z";
};
# tests require network connection

View File

@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "immutables";
version = "0.12";
version = "0.14";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "12i8r5z0y6ya850fwl2r4hig5hyli8skvjmgylapxa4zbr13fqmc";
sha256 = "0y0aqw29g525frdnmv9paljzacpp4s21sadfbca5b137iciwr8d0";
};
meta = {

View File

@@ -5,14 +5,14 @@
buildPythonPackage rec {
pname = "minidb";
version = "2.0.3";
version = "2.0.4";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "thp";
repo = "minidb";
rev = version;
sha256 = "0c6y3x957pc5sxkl34lymhkwpn4nlsfw07fcv4y9p2zdb7kjd1gc";
sha256 = "0i607rkfx0rkyllcx4vf3w2z0wxzs1gqigfw87q90pjrbbh2q4sb";
};
# module imports are incompatible with python2

View File

@@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "nbsmoke";
version = "0.3.0";
version = "0.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "070e999db3902a0c62a94d76de8fb98da21eaee22d9e90eb42f1636c87e1b805";
sha256 = "06as8vh17m0nkp3fpkp42m990a5zjfl2iaa17da99ksh7886mjpc";
};
propagatedBuildInputs = [

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib, buildPythonPackage, fetchPypi, setuptools }:
buildPythonPackage rec {
pname = "nodeenv";
@@ -9,6 +9,10 @@ buildPythonPackage rec {
sha256 = "ad8259494cf1c9034539f6cced78a1da4840a4b157e23640bc4a0c0546b0cb7a";
};
propagatedBuildInputs = [
setuptools
];
# Tests not included in PyPI tarball
doCheck = false;

View File

@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "paste";
version = "3.2.2";
version = "3.4.0";
src = fetchPypi {
pname = "Paste";
inherit version;
sha256 = "15p95br9x7zjy0cckdy6xmhfg61cg49rhi75jd00svrnz234s7qb";
sha256 = "16sichvhyci1gaarkjs35mai8vphh7b244qm14hj1isw38nx4c03";
};
propagatedBuildInputs = [ six ];

View File

@@ -22,12 +22,12 @@
buildPythonPackage rec {
pname = "pikepdf";
version = "1.11.2";
version = "1.13.0";
disabled = ! isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "03y6xkkqz6rsk23304gg0mn4vgdb0mh1wi9xzrk5vz2ma2wyp8i6";
sha256 = "0fpsjrppka0mrmkbzysi1s072d18ilsnch4lhd21k2qmvxp2hpmk";
};
buildInputs = [

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "plotly";
version = "4.6.0";
version = "4.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "0br996lqbyq1prq9hhrzkgpicz5fgvxamzjrrpms20a2y1alkwv1";
sha256 = "1s0hg91dvsklgdk3bi483f8in7vr51lx49smvr2ngvrws7nwsj3s";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, pony, whoosh }:
buildPythonPackage rec {
pname = "ponywhoosh";
version = "1.7.8";
src = fetchPypi {
inherit pname version;
sha256 = "1mggj9d265hra4z67qyla686qvl0cf79655cszi136gh9hqlibv9";
};
propagatedBuildInputs = [
pony
whoosh
];
meta = with lib; {
homepage = "https://pythonhosted.org/ponywhoosh/";
description = "Make your database over PonyORM searchable";
license = licenses.mit;
maintainers = with maintainers; [ alexarice ];
};
}

View File

@@ -19,7 +19,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Bindings for scrypt key derivation function library";
homepage = "https://pypi.python.org/pypi/scrypt";
maintainers = with maintainers; [ asymmetric ];
maintainers = [];
license = licenses.bsd2;
};
}

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "pyacoustid";
version = "1.1.7";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "07394a8ae84625a0a6fef2d891d19687ff59cd955caaf48097da2826043356fd";
sha256 = "0c3dsnfyldnsmyzczp5s5aqvbzcn360s0h4l3gm3k53lg57f762z";
};
propagatedBuildInputs = [ requests audioread ];

View File

@@ -1,19 +1,49 @@
{ stdenv, buildPythonPackage, fetchPypi, srptools, aiohttp, zeroconf
, ed25519, cryptography, curve25519-donna, pytest, pytestrunner
, netifaces, asynctest, virtualenv, toml, filelock, tox }:
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp
, aiozeroconf
, asynctest
, cryptography
, deepdiff
, netifaces
, protobuf
, pytest
, pytest-aiohttp
, pytest-asyncio
, pytestrunner
, srptools
}:
buildPythonPackage rec {
pname = "pyatv";
version = "0.3.13";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "8fc1a903a9d666e4109127410d35a83458559a86bc0de3fe1ffb3f15d2d653b3";
sha256 = "0f9wj1ggllwpjd9nh6nsrck7m4gbz29q6vqbrhbkc2kz6waqkgwc";
};
propagatedBuildInputs = [ srptools aiohttp zeroconf ed25519 cryptography curve25519-donna tox ];
nativeBuildInputs = [ pytestrunner];
checkInputs = [ pytest pytestrunner netifaces asynctest virtualenv toml filelock ];
propagatedBuildInputs = [
aiozeroconf
srptools
aiohttp
protobuf
cryptography
netifaces
];
checkInputs = [
deepdiff
pytest
pytest-aiohttp
pytest-asyncio
];
# just run vanilla pytest to avoid inclusion of coverage reports and xdist
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "A python client library for the Apple TV";

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "PyChromecast";
version = "4.2.3";
version = "5.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1nqy9zvzxzncfmmbsj4ccb36gymh4pp1n1l9fdhv8fi0ai9b7dyp";
sha256 = "052q25k3v5fwa02hf5zdpjpfb94ml9g67cqwjjvf6vdana8w3gwh";
};
disabled = !isPy3k;

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pydub";
version = "0.23.1";
version = "0.24.0";
# pypi version doesn't include required data files for tests
src = fetchFromGitHub {
owner = "jiaaro";
repo = pname;
rev = "v${version}";
sha256 = "1v0bghy4j2nnkgf1r8rbz4s7war872asyy08pc0x1iy1qs275i7s";
sha256 = "0cnhkk44cn3wa4fmd1rwzdx2zgrn87qg25pbcp9wsisdlpn4bj6d";
};

View File

@@ -0,0 +1,31 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pygments
, isPy3k
}:
buildPythonPackage rec {
pname = "pygments_better_html";
version = "0.1.4";
disabled = ! isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "028szd3k295yhz943bj19i4kx6f0pfh1fd2q14id0g84dl4i49dm";
};
propagatedBuildInputs = [ pygments ];
# has no tests
doCheck = false;
pythonImportsCheck = [ "pygments_better_html" ];
meta = with stdenv.lib; {
homepage = "https://github.com/Kwpolska/pygments_better_html";
description = "Improved line numbering for Pygments HTML formatter.";
license = licenses.bsd3;
maintainers = with maintainers; [ hexa ];
};
}

View File

@@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "qtconsole";
version = "4.7.3";
version = "4.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "8f5ae5571f0e921db9f2d12613ed667c350ee22c7db598d9bbbe143e8533f932";
sha256 = "1zgm57011kpbh6388p8cqwkcgqwlmb7rc9cy3zn9rrnna48byj7x";
};
checkInputs = [ nose ] ++ lib.optionals isPy27 [mock];

View File

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

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "slixmpp";
version = "1.4.2";
version = "1.5.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0rqpmscxjznxyz3dyxpc56gib319k01vl837r8g8w57dinz4y863";
sha256 = "0c5g4r5c6zm5fgvk6dd0dbx9gl3ws2swajc5knlacnpfykwzp5b4";
};
patches = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "spglib";
version = "1.14.1.post0";
version = "1.15.1";
src = fetchPypi {
inherit pname version;
sha256 = "0kmllcch5p20ylxirqiqzls567jr2808rbld9i8f1kf0205al8qq";
sha256 = "0c1nbpd5wy361xga8lw36xwc9yyz7rylsjr0z7aw7bn3s35bnkbx";
};
propagatedBuildInputs = [ numpy ];

View File

@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "sqlalchemy-utils";
version = "0.36.3";
version = "0.36.5";
src = fetchPypi {
inherit version;
pname = "SQLAlchemy-Utils";
sha256 = "0fj9qiz5hq8gf9pnir077sl58chry7jz63fnj1vgx5rmq1dsys7j";
sha256 = "0d3lrhqdw3lhkj79wpfxi6cmlxnw99prpq8m70c5q8kinv26h038";
};
propagatedBuildInputs = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "stevedore";
version = "1.31.0";
version = "1.32.0";
src = fetchPypi {
inherit pname version;
sha256 = "054apq55yg7058pmbnyc8jhrcpi9clmi0sm7znhwg0d676brywz0";
sha256 = "02shnm8r8c0bv494m8sjnrrlqy0pz5q5xrzpq069bx9sc8fszbqq";
};
doCheck = false;

View File

@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "tablib";
version = "1.1.0";
version = "2.0.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "19wvx40lgm1d1zqscznwjklchczcmv07cqfigalmpj7i7ym0j6ad";
sha256 = "1rvvdchdva7j9b29ay0sg8y33pjhpmzynl38wz2rl89pph8gmhlc";
};
propagatedBuildInputs = [ xlwt openpyxl pyyaml xlrd odfpy ];

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "zeroconf";
version = "0.26.0";
version = "0.26.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "029wxa50dwf4hsi7w0d8wmywh125aaaa7l4g024z1cyi511iy5h1";
sha256 = "09rvliph7phvgzwmmdv1kwcp3andpiiqfpkrwq1vkxvwqa3mgwji";
};
propagatedBuildInputs = [ ifaddr ]