Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2020-07-11 08:59:54 +02:00
601 changed files with 11303 additions and 6590 deletions

View File

@@ -0,0 +1,48 @@
{ lib, buildPythonPackage, fetchFromGitHub
, flit
, lxml, aiohttp
, pytest, pytestcov, pytest-asyncio, pytest-mock, pytest-aiohttp, aresponses
, pythonOlder
}:
buildPythonPackage rec {
pname = "PyRMVtransport";
version = "0.2.9";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "cgtobi";
repo = pname;
rev = "v${version}";
sha256 = "1h3d0yxzrfi47zil5gr086v0780q768z8v5psvcikqw852f93vxb";
};
nativeBuildInputs = [
flit
];
propagatedBuildInputs = [
aiohttp
lxml
];
checkInputs = [
pytest
pytestcov
pytest-asyncio
pytest-mock
pytest-aiohttp
aresponses
];
checkPhase = ''
pytest --cov=RMVtransport tests
'';
meta = with lib; {
homepage = "https://github.com/cgtobi/PyRMVtransport";
description = "Get transport information from opendata.rmv.de";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@@ -3,7 +3,7 @@
buildPythonPackage rec {
pname = "XlsxWriter";
version = "1.2.8";
version = "1.2.9";
# PyPI release tarball doesn't contain tests so let's use GitHub. See:
# https://github.com/jmcnamara/XlsxWriter/issues/327
@@ -11,7 +11,7 @@ buildPythonPackage rec {
owner = "jmcnamara";
repo = pname;
rev = "RELEASE_${version}";
sha256 = "18q5sxm9jw5sfavdjy5z0yamknwj5fl359jziqllkbj5k2i16lnr";
sha256 = "08pdca5ssi50bx2xz52gkmjix2ybv5i4bjw7yd6yfiph0y0qsbsb";
};
meta = {

View File

@@ -10,11 +10,11 @@
# wrapped to be able to find aioconsole and any other packages.
buildPythonPackage rec {
pname = "aioconsole";
version = "0.1.16";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "0yk4ghvg47drfvdrrcw7nk14pg4shccmyhln9d8hy1lyafcqmnd5";
sha256 = "1l61zv6qq94ybqz7s8ag3h08dsh7jds6n2mgd43s7m8gbiy00ggn";
};
# hardcodes a test dependency on an old version of pytest-asyncio

View File

@@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "aiorun";
version = "2020.2.1";
version = "2020.6.1";
format = "flit";
disabled = isPy27;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "cjrh";
repo = pname;
rev = "v${version}";
sha256 = "0wcj8prkijb889ic8n6varms7xkwy028hhw0imgkd1i0p64lm3m4";
sha256 = "00mq5ylhhdfdqrh7zdqabf3wy85jrkqvgfb1421ll46fsjim2d14";
};
propagatedBuildInputs = [

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
buildPythonPackage rec {
pname = "amqp";
@@ -9,11 +9,12 @@ buildPythonPackage rec {
sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b";
};
checkInputs = [ pytest case pytest-sugar ];
propagatedBuildInputs = [ vine ];
# Disable because pytest-sugar requires an old version of pytest
doCheck = false;
checkInputs = [ pytestCheckHook case ];
disabledTests = [
"test_rmq.py" # requires network access
];
meta = with stdenv.lib; {
homepage = "https://github.com/celery/py-amqp";

View File

@@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
buildPythonPackage rec {
version = "3.2.7";
version = "3.2.10";
pname = "asgiref";
disabled = pythonOlder "3.5";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "django";
repo = pname;
rev = version;
sha256 = "1qf29blzhh6sljaj1adc0p8cnyxh9ar6hky9ccdfbgmrk4rw5kwc";
sha256 = "1sj4yy2injaskwfi5pkb542jl8s6ljijnyra81gpw0pgd3d0bgxv";
};
propagatedBuildInputs = [ async-timeout ];

View File

@@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "atlassian-python-api";
version = "1.15.9";
version = "1.16.0";
src = fetchPypi {
inherit pname version;
sha256 = "c6a3125ee68ecf4d11947497c1f891b6436df9d8453f8865cabf595813504cc1";
sha256 = "1sp036192vdl5nqifcswg2j838vf8i9k8bfd0w4qh1vz4f0pjz7y";
};
checkInputs = [ pytestrunner pytest ];

View File

@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "0.4.0";
version = "0.5.0";
pname = "azure-mgmt-appconfiguration";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1dn5585nsizszjivx6lp677ka0mrg0ayqgag4yzfdz9ml8mj1xl5";
sha256 = "211527511d7616a383cc196956eaf2b7ee016f2367d367924b3715f2a41106da";
extension = "zip";
};

View File

@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
version = "12.0.0";
version = "12.1.0";
pname = "azure-mgmt-compute";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0vzq93g2fpnij4rykkk3391xq2knhlbz87vhim4zvj8s45sx6z8q";
sha256 = "54416e6fa4584bb986e8985f510486a36b4fdf47af012a4982a0960c7b11e89c";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-containerinstance";
version = "1.5.0";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1kd8lxm5kzk0wxbw1f3vin10hlhb4sygrxqd5c8k715s0ipkhmdh";
sha256 = "5ad247d186c3c040da7a1d40ad39c9881e99afc58271f673abb602abb0b6b85b";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
version = "9.0.1";
version = "9.2.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7e4459679bdba4aa67a4b5848e63d94e965a304a7418ef7607eb7a9ce295d886";
sha256 = "e7904b60c42a153b64b1604f3c698602686b38787bebdaed6e808cd43b6e5967";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-cosmosdb";
version = "0.14.0";
version = "0.15.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "692544dd2fa6276a7a4b4e094e2a5e0915d29b7829e266c6ade2b17a5fdcc2a9";
sha256 = "03ysr8kx0gavjrxsi9wqrgxpg3g17nvii7z68qfm0k2mv6ryj3z7";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-datafactory";
version = "0.10.0";
version = "0.11.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "48b1ec81f30f4b5f38dd17f68f0dfc968db96e0a04fdcfc99f43f80ca041f14b";
sha256 = "35d7c737054a7e6fc7c88d8c437fc012904c4568809487cac443eb3b13e6655b";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-eventhub";
version = "3.1.0";
version = "4.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "c823a0ed879230a3ec9f15c32c9788610af1db56e6aeae6b2725476ddbe0d138";
sha256 = "1qisnwn0gqfsa3h5x0fdbsgdjwn92hdbg71gdijrja0kryb328k5";
};
propagatedBuildInputs = [

View File

@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "1.5.0";
version = "1.5.1";
pname = "azure-mgmt-hdinsight";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "d13088bb506700a7aecf59faf042cb48dc82c423082482b2f50cc2403ac43e55";
sha256 = "76b94f3e43fdc6698023d79be731937dc645dc3178dc134854768528ecc0aea3";
extension = "zip";
};

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-iotcentral";
version = "3.0.0";
version = "3.1.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "f6dacf442ccae2f18f1082e80bcbdcaa8c0efa2ba92b48c5db6ee01d37240047";
sha256 = "c175f6642be514ad0efd3dc03d09e50d923596fd9e634381793dcc46bb8a57c7";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-media";
version = "2.1.0";
version = "2.2.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1py0hch0wghzfxazdrrs7p0kln2zn9jh3fmkzwd2z8qggj38q6gm";
sha256 = "0adeee9e654a9011f5107def06fea6838864a3514a1e5a9ed495f3a56a687cc7";
};
propagatedBuildInputs = [

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-monitor";
version = "0.9.0";
version = "0.10.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "170jyr1qzwhv5ihyrsg5d8qzjylqmg31dscd31jzi4i7bwqf3sb8";
sha256 = "0r3l55mhd00zx8sw13d7i9l7r214946s1y3wxcswxad7q5660zfm";
};
propagatedBuildInputs = [

View File

@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
version = "10.2.0";
version = "11.0.0";
pname = "azure-mgmt-network";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "d50c74cdc1c9be6861ddef9adffd3b05afc5a5092baf0209eea30f4439cba2d9";
sha256 = "7fdfc631c660cb173eee88abbb7b8be7742f91b522be6017867f217409cd69bc";
};
postInstall = if isPy3k then "" else ''

View File

@@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-recoveryservicesbackup";
version = "0.7.0";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "6355d9234d87422d57bf2ea8d1cc242463c203e4bb79b8930f22f29f4e025fa1";
sha256 = "a0ee89691b21945cc4b892a9194320f50c1cd242d98f00a82d7e3848c28517a5";
};
propagatedBuildInputs = [

View File

@@ -8,13 +8,13 @@
buildPythonPackage rec {
version = "10.0.0";
version = "10.1.0";
pname = "azure-mgmt-resource";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "bd9a3938f5423741329436d2da09693845c2fad96c35fadbd7c5ae5213208345";
sha256 = "9be7fcdf586f24acb799a799cf5e9363e9323ca0ce54cca63ab505f69fa0fddd";
};
postInstall = if isPy3k then "" else ''

View File

@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "0.4.0";
version = "0.4.1";
pname = "azure-mgmt-security";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1gpkvvk4prx6khs6vrlbqlg6zarsmplg3k9zbymxfm6irriqildm";
sha256 = "08gf401d40bd1kn9wmpxcjxqdh84cd9hxm8rdjd0918483sqs71r";
extension = "zip";
};

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-sql";
version = "0.18.0";
version = "0.19.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "99ca085eb523a5c27933060ccb04d7a6b60864f98d87bf5b63ac17d419b43445";
sha256 = "694649d4c9c5f89e543f23ec10e450b6382b2f1bc5843ef266cfc302276038c6";
};
propagatedBuildInputs = [

View File

@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
version = "10.0.0";
version = "11.1.0";
pname = "azure-mgmt-storage";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "d1edead1ad36e957c9f9b605f547ad1ff7152f8f785fa03d3c7891bb428a68ef";
sha256 = "ef23587c1b6dc0866ebf0e91e83ba05d7f7e4fea7951b704781b9cd9f5f27f1c";
};
propagatedBuildInputs = [ azure-mgmt-common ];

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-subscription";
version = "0.5.0";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1w91zqi2icld76mcrz0kwq0adb1nr83yqdq6qp1p1445p914qjsh";
sha256 = "7448a322eceed3d300e181fde0f626c0e37df773f6c7297df2b73d98cb0936cf";
};
propagatedBuildInputs = [

View File

@@ -1,4 +1,5 @@
{ lib, python, buildPythonPackage, fetchPypi, isPy27
, fetchpatch
, azure-common
, azure-core
, msrest
@@ -7,13 +8,13 @@
}:
buildPythonPackage rec {
version = "0.3.2";
version = "0.3.5";
pname = "azure-multiapi-storage";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "c403a47e40e4a80d9c42c854993f5c07f12c2a75bd9a85ba8225985493a9b792";
sha256 = "71c238c785786a159b3ffd587a5e7fa1d9a517b66b592ae277fed73a9fbfa2b0";
};
propagatedBuildInputs = [
@@ -24,6 +25,14 @@ buildPythonPackage rec {
requests
];
# Fix to actually install the package
patches = [
(fetchpatch {
url = "https://github.com/Azure/azure-multiapi-storage-python/pull/29/commits/1c8b08dfc9c5445498de3475dec8820eafbd0ca1.patch";
sha256 = "1f80sdbw4pagrlp9dhcimhp23sdmy0whiba07aa84agkpv4df9ny";
})
];
# fix namespace
pythonNamespaces = [ "azure.multiapi" ];

View File

@@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "azure-storage-file-share";
version = "12.1.1";
version = "12.1.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "661ed9669b9fbb3163899294d28f11f7c135336e1513aab6bd1ff9ef3c6febb3";
sha256 = "74422d241454d66fdc3184dbe52334997ebe4f9f9a0d88ec1a2ba6c602f8a332";
};
propagatedBuildInputs = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "bitarray";
version = "1.2.2";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "0m29k3lq37v53pczyr2d5mr3xdh2kv31g2yfnfx8m1ivxvy9z9i7";
sha256 = "1pz3yd9rhz3cb0yf7dbjhd1awm0w7vsbj73k4v95484j2kdxk3d4";
};
meta = with lib; {

View File

@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "boltons";
version = "20.1.0";
version = "20.2.0";
# No tests in PyPi Tarball
src = fetchFromGitHub {
owner = "mahmoud";
repo = "boltons";
rev = version;
sha256 = "0mbxc2n10mlmpbwhg0byddl1i0s6rlrr6z9xm8zzmkv62136irqh";
sha256 = "08rd6av8dp5n1vz6nybmayl1mfsmj66cskiaybfshcgix29ca803";
};
checkInputs = [ pytest ];

View File

@@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "boolean.py";
version = "3.7";
version = "3.8";
src = fetchFromGitHub {
owner = "bastikr";
repo = "boolean.py";
rev = "v${version}";
sha256 = "1q9ji2jq07qr6vgp9yv6y8lx6h0zyi07fqjga3yi3vpfk46h2jn1";
sha256 = "02jznrfrihhk69ai1vnh26s3rshl4kfc2id7li6xccavc2ws5y3b";
};
meta = with lib; {

View File

@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "boto3";
version = "1.14.3"; # N.B: if you change this, change botocore too
version = "1.14.16"; # N.B: if you change this, change botocore too
src = fetchPypi {
inherit pname version;
sha256 = "1qapj3hbbj116x7yca3m9ivl44iisrk0cppri9sk3b1mpv371a0v";
sha256 = "1yywn4wbzn37b5gbkmksqpxnabw1yjvbp710chc3v6cymyv4lnnf";
};
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];

View File

@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.17.3"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.17.16"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "0mrkkb7vc7jdxrr9gyg92i6ar801kpss53nfqp1di6xfi4jxkx0k";
sha256 = "0k4bx4anj0xjjfj4jx3v1fhzrmk5k9qgdpxqghxzyzmnsry4y37y";
};
propagatedBuildInputs = [

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "braintree";
version = "4.1.0";
version = "4.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1fqh1bdkk3g222vbrmw3ab4r4mmd1k4x2jayshnqpbspszcqzcdq";
sha256 = "0aw5n1hqrg5pb5xmcr1b8y9i7v8zj23q9k2p4b6bwnq2c2fqi8wr";
};
propagatedBuildInputs = [ requests ];

View File

@@ -1,13 +1,13 @@
{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }:
buildPythonPackage rec {
version = "4.18.1";
version = "4.19.2";
pname = "breathe";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "03f56cc6dd0bf5ac3d8e8eb380d212257e16de79fce5e6186afd5c1835561e22";
sha256 = "1mzcggfr61lqkn6sghg842ah9slfjr0ikc776vbx60iqqw9l1gvn";
};
propagatedBuildInputs = [ docutils six sphinx ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "btchip-python";
version = "0.1.28";
version = "0.1.30";
src = fetchPypi {
inherit pname version;
sha256 = "10yxwlsr99gby338rsnczkfigcy36fiajpkr6f44438qlvbx02fs";
sha256 = "1mraf2lmh70b038k934adxi7d40431j7yq93my3aws99f5xccsb8";
};
propagatedBuildInputs = [ hidapi pyscard ecdsa ];

View File

@@ -0,0 +1,35 @@
{ buildPythonPackage
, acme
, certbot
, cloudflare
, isPy3k
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
inherit (certbot) src version;
pname = "certbot-dns-cloudflare";
propagatedBuildInputs = [
acme
certbot
cloudflare
];
checkInputs = [
pytest
pytestCheckHook
];
disabled = !isPy3k;
pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
sourceRoot = "source/${pname}";
meta = certbot.meta // {
description = "Cloudflare DNS Authenticator plugin for Certbot";
};
}

View File

@@ -0,0 +1,35 @@
{ buildPythonPackage
, acme
, certbot
, dnspython
, isPy3k
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
inherit (certbot) src version;
pname = "certbot-dns-rfc2136";
propagatedBuildInputs = [
acme
certbot
dnspython
];
checkInputs = [
pytest
pytestCheckHook
];
disabled = !isPy3k;
pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
sourceRoot = "source/${pname}";
meta = certbot.meta // {
description = "RFC 2136 DNS Authenticator plugin for Certbot";
};
}

View File

@@ -0,0 +1,35 @@
{ buildPythonPackage
, acme
, boto3
, certbot
, isPy3k
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
inherit (certbot) src version;
pname = "certbot-dns-route53";
propagatedBuildInputs = [
acme
boto3
certbot
];
checkInputs = [
pytest
pytestCheckHook
];
disabled = !isPy3k;
pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
sourceRoot = "source/${pname}";
meta = certbot.meta // {
description = "Route53 DNS Authenticator plugin for Certbot";
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, toml }:
{ stdenv, buildPythonPackage, fetchPypi, pep517, toml, mock, breezy, git }:
buildPythonPackage rec {
pname = "check-manifest";
@@ -9,15 +9,19 @@ buildPythonPackage rec {
sha256 = "0d8e1b0944a667dd4a75274f6763e558f0d268fde2c725e894dfd152aae23300";
};
propagatedBuildInputs = [ toml ];
# Test requires filesystem access
postPatch = ''
substituteInPlace tests.py --replace "test_build_sdist" "no_test_build_sdist"
'';
doCheck = false;
propagatedBuildInputs = [ pep517 toml ];
checkInputs = [ mock breezy git ];
meta = with stdenv.lib; {
homepage = "https://github.com/mgedmin/check-manifest";
description = "Check MANIFEST.in in a Python source package for completeness";
license = licenses.mit;
maintainers = with maintainers; [ lewo ];
broken = true; # pep517 package doesn't exist in nixpkgs
};
}

View File

@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "ckcc-protocol";
version = "1.0.1";
version = "1.0.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "13ihbhjgxyn1xvrbppjvnqm199q5fdwrljs0wm16iwyl56kf3wh3";
sha256 = "0zpn3miyapskw6s71v614pmga5zfain9j085axm9v50b8r71xh1i";
};
checkInputs = [

View File

@@ -6,6 +6,7 @@
, biopython
, numpy
, scipy
, scikitlearn
, pandas
, matplotlib
, reportlab
@@ -29,6 +30,7 @@ buildPythonPackage rec {
biopython
numpy
scipy
scikitlearn
pandas
matplotlib
reportlab
@@ -44,6 +46,8 @@ buildPythonPackage rec {
--replace "pandas >= 0.20.1, < 0.25.0" "pandas"
'';
pythonImportsCheck = [ "cnvlib" ];
meta = with lib; {
homepage = "https://cnvkit.readthedocs.io";
description = "A Python library and command-line software toolkit to infer and visualize copy number from high-throughput DNA sequencing data";

View File

@@ -5,6 +5,9 @@
, tinycss2
, pytest
, pytestrunner
, pytestcov
, pytest-flake8
, pytest-isort
}:
buildPythonPackage rec {
@@ -17,19 +20,9 @@ buildPythonPackage rec {
sha256 = "5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc";
};
# We're not interested in code quality tests
postPatch = ''
substituteInPlace setup.cfg \
--replace "pytest-cov" "" \
--replace "pytest-flake8" "" \
--replace "pytest-isort" "" \
--replace "--flake8" "" \
--replace "--isort" ""
'';
propagatedBuildInputs = [ tinycss2 ];
checkInputs = [ pytest pytestrunner ];
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];
meta = with lib; {
description = "CSS selectors for Python ElementTree";

View File

@@ -0,0 +1,42 @@
{ lib
, python
, buildPythonPackage
, fetchFromGitLab
, isPy27
, jinja2
, pytest
}:
buildPythonPackage rec {
pname = "debts";
version = "0.5";
# pypi does not ship tests
src = fetchFromGitLab {
domain = "framagit.org";
owner = "almet";
repo = "debts";
rev = "d887bd8b340172d1c9bbcca6426529b8d1c2a241"; # no tags
sha256 = "1d66nka81mv9c07mki78lp5hdajqv4cq6aq2k7bh3mhkc5hwnwlg";
};
disabled = isPy27;
propagatedBuildInputs = [ jinja2 ];
checkInputs = [ pytest ];
# for some reason tests only work if the module is properly installed
checkPhase = ''
rm -r debts
export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
py.test tests
'';
meta = with lib; {
inherit (src.meta) homepage;
description = "A simple library and cli-tool to help you solve some debts settlement scenarios";
license = licenses.beerware;
maintainers = [ maintainers.symphorien ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "dnslib";
version = "0.9.13";
version = "0.9.14";
src = fetchPypi {
inherit pname version;
sha256 = "a0fed3e139c12ee4884b19bcde1d4a170745bcabb6026397876e3236ce38b9db";
sha256 = "1yz63cgiv910wkx90if09bql1n63lq6hy4wfpqink0q4sxy0mlpv";
};
checkPhase = "VERSIONS=${python.interpreter} ./run_tests.sh";

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "docker";
version = "4.2.1";
version = "4.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "380a20d38fbfaa872e96ee4d0d23ad9beb0f9ed57ff1c30653cbeb0c9c0964f2";
sha256 = "0m4vgk2831yfdjy8vqyvvfnmwv270a44z358frdzb672wzfbmvi6";
};
nativeBuildInputs = lib.optional isPy27 mock;

View File

@@ -7,11 +7,11 @@
buildPythonPackage (rec {
pname = "elasticsearch";
version = "7.7.1";
version = "7.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "9bfcb2bd137d6d7ca123e252b9d7261cfe4f7723f7b749a99c52b47766cf387c";
sha256 = "14m7lfn36y0bjlpqxd7j9ggvbx46q30fva4czyspkqi79v7xhdz6";
};
# Check is disabled because running them destroy the content of the local cluster!

View File

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

View File

@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "GeoAlchemy2";
version = "0.8.3";
version = "0.8.4";
src = fetchPypi {
inherit pname version;
sha256 = "a5a2444d90ce7f2c6b2d7bd7346c8aed16fd32c3e190e631576a51814e8f7ee9";
sha256 = "02jbad9vbnjx8bmfvxg77z18nymrry6li8hy9pwi0yiyvwbnycyr";
};
nativeBuildInputs = [ setuptools_scm ];

View File

@@ -4,14 +4,14 @@
buildPythonPackage rec {
pname = "geopandas";
version = "0.7.0";
version = "0.8.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "geopandas";
repo = "geopandas";
rev = "v${version}";
sha256 = "0cfdvl4cvi0nim1qbmzf7vg0all272i8r0kj4xgdd0hr2j4jdg9p";
sha256 = "033jygbyycl9s6b0kqix9xynhapc2xd8nh47kcfacn514gyncgah";
};
checkInputs = [ pytest Rtree ];

View File

@@ -1,4 +1,4 @@
{ stdenv
{ lib
, buildPythonPackage
, fetchPypi
, google_resumable_media
@@ -11,32 +11,35 @@
buildPythonPackage rec {
pname = "google-cloud-storage";
version = "1.28.1";
version = "1.29.0";
src = fetchPypi {
inherit pname version;
sha256 = "a7b5c326e7307a83fa1f1f0ef71aba9ad1f3a2bc6a768401e13fc02369fd8612";
sha256 = "07lsdrxypz5i21x99m1zkxwiax89q80v0av6ak0k4fkys48spj0m";
};
propagatedBuildInputs = [
google_resumable_media
google_api_core
google_cloud_core
google_resumable_media
setuptools
];
checkInputs = [ pytest mock ];
checkInputs = [
mock
pytest
];
# remove directory from interferring with importing modules
# ignore tests which require credentials
checkPhase = ''
rm -r google
pytest tests/unit -k 'not create'
pytest tests/unit -k 'not (create or get or post)'
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Google Cloud Storage API client library";
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
};
}

View File

@@ -13,13 +13,13 @@
buildPythonPackage rec {
pname = "graphql-core";
version = "2.3.1";
version = "3.1.2";
src = fetchFromGitHub {
owner = "graphql-python";
repo = pname;
rev = "v${version}";
sha256 = "029jnwy6zbj4x7f3ffpn1gyx0w9ala9cj2g115g6aa7im3xd2jma";
sha256 = "0kvbj9dwpx8mjfj86kqx54dbz9k72ki147ssyj0ca2syvb8jm3wb";
};
propagatedBuildInputs = [

View File

@@ -1,23 +1,33 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, black
, graphql-core
, promise
, fetchpatch
, pythonOlder
}:
buildPythonPackage rec {
pname = "graphql-server-core";
version = "1.2.0";
version = "2.0.0";
src = fetchFromGitHub {
owner = "graphql-python";
repo = pname;
rev = "v${version}";
sha256 = "123q3xziv0s22h10v3f5slirf4b6nxj0hnmarwx9vws6x21bgrgh";
sha256 = "1w3biv2za2m1brwjy0z049c2m94gm1zfwxzgc6lwrsci724jv9fr";
};
disable = pythonOlder "3.6";
patches = [
(fetchpatch {
url = "https://github.com/graphql-python/graphql-server-core/commit/865ee9d5602f352c958f6f7e15adbe9abe216784.patch";
sha256 = "03p44p4j8rys7mgamh2h9ibbnac2cqwvp5f5hrl2avj2hh0l6j46";
})
];
propagatedBuildInputs = [
graphql-core
promise

View File

@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "hcloud";
version = "1.7.0";
version = "1.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "d249ab784b23026fcde21e4d69b46eaf9f3559ba3612f1d896a4092ecfc06a75";
sha256 = "1xkds49z4hjyvz170913dz6886lhq4hb2n6dqqpv6q5p1znsx2gj";
};
propagatedBuildInputs = [ future requests python-dateutil ];

View File

@@ -30,8 +30,7 @@ buildPythonPackage rec {
checkInputs = [ nose ];
checkPhase = ''
${python.interpreter} test.py --with-hg "${mercurial}/bin/hg" -v \
--exclude=test_merge_prompt_cb # https://bz.mercurial-scm.org/show_bug.cgi?id=6265
${python.interpreter} test.py --with-hg "${mercurial}/bin/hg" -v
'';
meta = with stdenv.lib; {

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "hvac";
version = "0.10.3";
version = "0.10.4";
src = fetchPypi {
inherit pname version;
sha256 = "391b558a465d1919a2862926ab9a7c6bef1f2ac2c46daf8dd5115080c42978e4";
sha256 = "0yhywm8f86pc4f7ivvbwicwhzf0khjqp9jj77pqy6nha6znvpvnh";
};
propagatedBuildInputs = [ requests six ];

View File

@@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
, tatsu, arrow
, pytest-sugar, pytestpep8, pytest-flakes, pytestcov
, pytestCheckHook, pytestpep8, pytest-flakes
}:
buildPythonPackage rec {
@@ -22,10 +22,7 @@ buildPythonPackage rec {
--replace "arrow>=0.11,<0.15" "arrow"
'';
checkInputs = [ pytest-sugar pytestpep8 pytest-flakes pytestcov ];
checkPhase = ''
pytest
'';
checkInputs = [ pytestCheckHook pytestpep8 pytest-flakes ];
meta = with stdenv.lib; {
description = "Pythonic and easy iCalendar library (RFC 5545)";

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "identify";
version = "1.4.19";
version = "1.4.21";
src = fetchPypi {
inherit pname version;
sha256 = "249ebc7e2066d6393d27c1b1be3b70433f824a120b1d8274d362f1eb419e3b52";
sha256 = "105n1prgmzkzdwr8q0bdx82nj7i8p3af1abh864k2fcyjwmpzl64";
};
# Tests not included in PyPI tarball

View File

@@ -1,4 +1,4 @@
{ buildPythonPackage, lib, fetchFromGitHub, isPy27, nixosTests
{ buildPythonPackage, lib, fetchFromGitHub, isPy27, nixosTests, fetchpatch, fetchPypi
, alembic
, aniso8601
, Babel
@@ -15,33 +15,65 @@
, flask_script
, flask_sqlalchemy
, flask_wtf
, debts
, idna
, itsdangerous
, jinja2
, Mako
, markupsafe
, mock
, python-dateutil
, pytz
, six
, sqlalchemy
, sqlalchemy-continuum
, werkzeug
, wtforms
, psycopg2 # optional, for postgresql support
, flask_testing
}:
# ihatemoney is not really a library. It will only ever be imported
# by the interpreter of uwsgi. So overrides for its depencies are fine.
let
# https://github.com/spiral-project/ihatemoney/issues/567
pinned_wtforms = wtforms.overridePythonAttrs (old: rec {
pname = "WTForms";
version = "2.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "0q9vkcq6jnnn618h27lx9sas6s9qlg2mv8ja6dn0hy38gwzarnqc";
};
});
pinned_flask_wtf = flask_wtf.override { wtforms = pinned_wtforms; };
in
buildPythonPackage rec {
pname = "ihatemoney";
version = "4.1";
version = "4.2";
src = fetchFromGitHub {
owner = "spiral-project";
repo = pname;
rev = version;
sha256 = "1ai7v2i2rvswzv21nwyq51fvp8lr2x2cl3n34p11br06kc1pcmin";
sha256 = "0d4vc6m0jkwlz9ly0hcjghccydvqbldh2jb8yzf94jrgkd5fd7k1";
};
disabled = isPy27;
patches = [
# fix migration on postgresql
# remove on next release
(fetchpatch {
url = "https://github.com/spiral-project/ihatemoney/commit/6129191b26784b895e203fa3eafb89cee7d88b71.patch";
sha256 = "0yc24gsih9x3pnh2mhj4v5i71x02dq93a9jd2r8b1limhcl4p1sw";
})
];
postPatch = ''
# remove draconian pinning
sed -i 's/==.*$//' setup.cfg
'';
propagatedBuildInputs = [
alembic
aniso8601
@@ -58,7 +90,7 @@ buildPythonPackage rec {
flask-restful
flask_script
flask_sqlalchemy
flask_wtf
pinned_flask_wtf
idna
itsdangerous
jinja2
@@ -68,14 +100,16 @@ buildPythonPackage rec {
pytz
six
sqlalchemy
sqlalchemy-continuum
werkzeug
wtforms
pinned_wtforms
psycopg2
debts
];
checkInputs = [
flask_testing
] ++ lib.optionals isPy27 [ mock ];
];
passthru.tests = {
inherit (nixosTests) ihatemoney;

View File

@@ -0,0 +1,53 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, rx
, certifi
, six
, python-dateutil
, setuptools
, urllib3
, ciso8601
, pytz
, pythonOlder
}:
buildPythonPackage rec {
pname = "influxdb-client";
version = "1.8.0";
disabled = pythonOlder "3.6"; # requires python version >=3.6
src = fetchFromGitHub {
owner = "influxdata";
repo = "influxdb-client-python";
rev = "v${version}";
sha256 = "0gf0fjkd10yn1bb86rfapnd5diraivshn9mhzqxaxwlfah45q187";
};
# makes test not reproducible
postPatch = ''
sed -i -e '/randomize/d' test-requirements.txt
'';
propagatedBuildInputs = [
rx
certifi
six
python-dateutil
setuptools
urllib3
ciso8601
pytz
];
# requires influxdb server
doCheck = false;
meta = with lib; {
description = "InfluxDB 2.0 Python client library";
homepage = "https://github.com/influxdata/influxdb-client-python";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}

View File

@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "ipdb";
version = "0.13.2";
version = "0.13.3";
disabled = isPyPy; # setupterm: could not find terminfo database
src = fetchPypi {
inherit pname version;
sha256 = "0jcd849rx30y3wcgzsqbn06v0yjlzvb9x3076q0yxpycdwm1ryvp";
sha256 = "0y3yk5k2yszcwxsjinvf40b1wl8wi8l6kv7pl9jmx9j53hk6vx6n";
};
propagatedBuildInputs = [ ipython ];

View File

@@ -2,8 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, six
, pytest
, pytest-sugar
, pytestCheckHook
}:
buildPythonPackage rec {
@@ -21,11 +20,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six ];
checkInputs = [ pytest pytest-sugar ];
checkPhase = ''
pytest
'';
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Creates JUnit XML test result documents that can be read by tools such as Jenkins";

View File

@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "jupyterlab";
version = "2.1.4";
version = "2.1.5";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "7b5bd4a05330a01c8522ee7f1cda5cb2e0d96412d9e1e879a19b3afb63d4ac69";
sha256 = "162jn51cg36fsn4l2zhnb5n4nbkhm9wlv974ggcnmdij3i4r4yya";
};
propagatedBuildInputs = [ jupyterlab_server notebook ];

View File

@@ -0,0 +1,53 @@
{ buildPythonPackage
, certifi
, fetchPypi
, lib
, python-dateutil
, python-slugify
, six
, requests
, tqdm
, urllib3
}:
buildPythonPackage rec {
pname = "kaggle";
version = "1.5.6";
src = fetchPypi {
inherit pname version;
sha256 = "0f5qrkgklcpgbwncrif7aw4f86dychqplh7k3f4rljwnr9yhjb1w";
};
# The version bounds in the setup.py file are unnecessarily restrictive.
patchPhase = ''
substituteInPlace setup.py \
--replace 'urllib3 >= 1.21.1, < 1.25' 'urllib3'
'';
propagatedBuildInputs = [
certifi
python-dateutil
python-slugify
requests
six
tqdm
urllib3
];
# Tests try to access the network.
checkPhase = ''
export HOME="$TMP"
mkdir -p "$HOME/.kaggle/"
echo '{"username":"foobar","key":"00000000000000000000000000000000"}' > "$HOME/.kaggle/kaggle.json"
$out/bin/kaggle --help > /dev/null
'';
pythonImportsCheck = [ "kaggle" ];
meta = with lib; {
description = "Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python 3";
homepage = "https://github.com/Kaggle/kaggle-api";
license = licenses.asl20;
maintainers = with maintainers; [ cdepillabout ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "latexcodec";
version = "2.0.0";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0pyzhidpnc3q3rh9d5hxhzv99rl5limyyrll7xcyssci92fn8gyd";
sha256 = "16pynfnn8y8xp55yp06i721fccv5dlx9ba6k5bzcwq9j6wf5b8ia";
};
propagatedBuildInputs = [ six ];

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "python-ldap";
version = "3.2.0";
version = "3.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "13nvrhp85yr0jyxixcjj012iw8l9wynxxlykm9j3alss6waln73x";
sha256 = "198as30xy6p760niqps2zdvq2xcmr765h06pmda8fa9y077wl4a7";
};
propagatedBuildInputs = [ pyasn1 pyasn1-modules ];

View File

@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "apache-libcloud";
version = "3.0.0";
version = "3.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "b9eef1a61383fd401a537cf0796a1067a265288b7ab89be93f5571961a8a2902";
sha256 = "1b28j265kvibgxrgxx0gwfm6cmv252c8ph1j2vb0cpms8ph5if5v";
};
checkInputs = [ mock pytest pytestrunner requests-mock ];

View File

@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "libevdev";
version = "0.7";
version = "0.9";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "10gwj08kn2rs4waq7807mq34cbavgkpg8fpir8mvnba601b8q4r4";
sha256 = "17agnigmzscmdjqmrylg1lza03hwjhgxbpf4l705s6i7p7ndaqrs";
};
doCheck = false;

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "libversion";
version = "1.2.0";
version = "1.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1p3snjlsg11vhba8h286h19kn6azlxbywg9f6rdhj8sfraccqlmk";
sha256 = "1h8x9hglrqi03f461lhw3wwz23zs84dgw7hx4laxcmyrgvyzvcq1";
};
nativeBuildInputs = [ pkgconfig ];

View File

@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "libvirt";
version = "6.2.0";
version = "6.3.0";
src = assert version == libvirt.version; fetchgit {
url = "git://libvirt.org/libvirt-python.git";
rev = "v${version}";
sha256 = "0a8crk29rmnw1kcgi72crb7syacdk03lkl05yand5cxs0l65jwdl";
sha256 = "088cksq59jxkkzbvmwl8jw9v2k3zibwksl7j57yb51bxaa2sa1cx";
};
nativeBuildInputs = [ pkgconfig ];

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "mahotas";
version = "1.4.9";
version = "1.4.10";
src = fetchFromGitHub {
owner = "luispedro";
repo = "mahotas";
rev = "v${version}";
sha256 = "151hri3lwcm9p7w1nyw99h8c70j51698cvzaiazvwb6gl4khwavv";
sha256 = "0fjiyl82wj1a6xzr9mss2y2rydl4zchl2cbdbg0jm0fcrs99q4hw";
};
# remove this as soon as https://github.com/luispedro/mahotas/issues/97 is fixed

View File

@@ -15,10 +15,14 @@ buildPythonPackage rec {
checkInputs = [ pyyaml pytest ];
# requires tests files that are not present
doCheck = false;
checkPhase = ''
py.test
'';
pythonImportsCheck = [ "mt940" ];
meta = with lib; {
description = "A library to parse MT940 files and returns smart Python collections for statistics and manipulation";
homepage = "https://github.com/WoLpH/mt940";

View File

@@ -4,14 +4,14 @@
}:
buildPythonPackage rec {
version = "0.10.0";
version = "0.10.1";
pname = "mwclient";
src = fetchFromGitHub {
owner = "mwclient";
repo = "mwclient";
rev = "v${version}";
sha256 = "1c3q6lwmb05yqywc4ya98ca7hsl15niili8rccl4n1yqp77c103v";
sha256 = "120snnsh9n5svfwkyj1w9jrxf99jnqm0jk282yypd3lpyca1l9hj";
};
checkInputs = [ pytest pytestpep8 pytestcache pytestcov responses mock ];

View File

@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "mypy";
version = "0.780";
version = "0.782";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "4ef13b619a289aa025f2273e05e755f8049bb4eaba6d703a425de37d495d178d";
sha256 = "030kn709515452n6gy2i1d9fg6fyrkmdz228lfpmbslybsld9xzg";
};
propagatedBuildInputs = [ typed-ast psutil mypy-extensions typing-extensions ];

View File

@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "nbsphinx";
version = "0.7.0";
version = "0.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "77545508fff12fed427fffbd9eae932712fe3db7cc6729b0af5bbd122d7146cf";
sha256 = "0j56bxdj08vn3q1804qwb1ywhga1mdg1awgm7i64wfpfwi8df2zm";
};
propagatedBuildInputs = [

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "netdisco";
version = "2.7.0";
version = "2.7.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "46839e47c57554241971fbf3ba7e0077cadd22dd2bcf7eec4f72b243de2e062d";
sha256 = "0rkaz9377f4ldxcqxcmcc9hwdv5dda8nl7vrnp2pj3ppivq5629w";
};
propagatedBuildInputs = [ requests zeroconf netifaces ];

View File

@@ -2,8 +2,8 @@
, buildPythonPackage
, fetchPypi
, isPy27
, nose
, pytest
, nose
, numpy
, h5py
, pydicom
@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "nibabel";
version = "3.1.0";
version = "3.1.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "774adcff834f22915afb68c6cdd7acbcb5d0240b7f87f6da6c63ff405480884b";
sha256 = "1kir9g7kmy2qygyzczx8nj4b0sc6jjvqy0ssm39bxzqsr1vzzvxm";
};
propagatedBuildInputs = [ numpy scipy h5py pydicom ];
@@ -25,7 +25,7 @@ buildPythonPackage rec {
checkInputs = [ nose pytest ];
checkPhase = ''
nosetests
pytest
'';
meta = with lib; {

View File

@@ -15,15 +15,15 @@
buildPythonPackage rec {
pname = "nmigen";
version = "unstable-2019-02-08";
version = "unstable-2020-04-02";
# python setup.py --version
realVersion = "0.2.dev49+g${lib.substring 0 7 src.rev}";
src = fetchFromGitHub {
owner = "nmigen";
repo = "nmigen";
rev = "66f4510c4465be5d0763d7835770553434e4ee91";
sha256 = "19y39c4ywckm4yzrpjzcdl9pqy9d1sf1zsb4zpzajpmnfqccc3b0";
rev = "c79caead33fff14e2dec42b7e21d571a02526876";
sha256 = "sha256-3+mxHyg0a92/BfyePtKT5Hsk+ra+fQzTjCJ2Ech44/s=";
};
disabled = pythonOlder "3.6";
@@ -40,7 +40,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A refreshed Python toolbox for building complex digital hardware";
homepage = "https://github.com/nmigen/nmigen";
homepage = "https://nmigen.info/nmigen";
license = licenses.bsd2;
maintainers = with maintainers; [ emily ];
};

View File

@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "ntlm-auth";
version = "1.4.0";
version = "1.5.0";
src = fetchFromGitHub {
owner = "jborean93";
repo = "ntlm-auth";
rev = "v${version}";
sha256 = "168k3ygwbvnfcwn7q1nv3vvy6b9jc4cnpix0xgg5j8av7v1x0grn";
sha256 = "00dpf5bfsy07frsjihv1k10zmwcyq4bvkilbxha7h6nlwpcm2409";
};
checkInputs = [ mock pytest requests unittest2 ];

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.8.1";
version = "0.6.8.4";
pname = "Nuitka";
# Latest version is not yet on PyPi
src = fetchurl {
url = "https://github.com/kayhayen/Nuitka/archive/${version}.tar.gz";
sha256 = "1rn6i2mcljhb9nmh8qj3slcmqzs9jx8s7j8r2b7685n7751h5ipj";
sha256 = "0awhwksnmqmbciimqmd11wygp7bnq57khcg4n9r4ld53s147rmqm";
};
checkInputs = [ vmprof pyqt4 ];

View File

@@ -0,0 +1,37 @@
{ lib, buildPythonPackage, pythonOlder, fetchPypi, pydsdl }:
buildPythonPackage rec {
pname = "nunavut";
version = "0.3.0";
disabled = pythonOlder "3.5"; # only python>=3.5 is supported
src = fetchPypi {
inherit pname version;
sha256 = "1ycnxrw2qgm7kdapsnhz80jsqkghgvb5giqwapn0m30rplwc3s36";
};
propagatedBuildInputs = [
pydsdl
];
# allow for writable directory for darwin
preBuild = ''
export HOME=$TMPDIR
'';
# repo doesn't contain tests, ensure imports aren't broken
pythonImportsCheck = [
"nunavut"
];
meta = with lib; {
description = "A UAVCAN DSDL template engine";
longDescription = ''
It exposes a pydsdl abstract syntax tree to Jinja2 templates allowing
authors to generate code, schemas, metadata, documentation, etc.
'';
homepage = "https://nunavut.readthedocs.io/";
maintainers = with maintainers; [ wucke13 ];
license = with licenses; [ bsd3 mit ];
};
}

View File

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

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "pep8-naming";
version = "0.10.0";
version = "0.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "0fmzccbmr0jn9ynamdb9ly2ai8qs5qfk8alfgnzr3fbjvpwsbd7k";
sha256 = "0937rnk3c2z1jkdmbw9hfm80p5k467q7rqhn6slfiprs4kflgpd1";
};
propagatedBuildInputs = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.12.5";
version = "8.12.6";
src = fetchPypi {
inherit pname version;
sha256 = "3586f19abeb92aa6b539d7a4757cb507cf54efcd78224e895caf20fbdde07c26";
sha256 = "02yfyphrrlx00r7s2j522kjszchq6ql8gb33lasm6q8wwy7hfcnk";
};
meta = {

View File

@@ -14,12 +14,12 @@
buildPythonPackage rec {
pname = "pint";
version = "0.11";
version = "0.14";
src = fetchPypi {
inherit version;
pname = "Pint";
sha256 = "0kfgnmcs6z9ndhzvwg2xzhpwxgyyagdsdz5dns1jy40fa1q113rh";
sha256 = "0wkzb7g20wzpqr3xaqpq96dlfv6irw202icsz81ys8npp7mm194s";
};
disabled = pythonOlder "3.6";

View File

@@ -1,26 +1,38 @@
{ lib
, fetchurl
, fetchFromGitHub
, python
, buildPythonPackage
, socat
, psutil
, hglib
, pygit2
, pyuv
, i3ipc
}:
# The source of this package needs to be patched to include the full path to
# the executables of git, mercurial and bazaar.
# TODO: bzr support is missing because nixpkgs switched to `breezy`
buildPythonPackage rec {
version = "2.7";
version = "2.8.1";
pname = "powerline";
src = fetchurl {
url = "https://github.com/powerline/powerline/archive/${version}.tar.gz";
name = "${pname}-${version}.tar.gz";
sha256 = "1h1j2rfphvfdq6mmfyn5bql45hzrwxkhpc2jcwf0vrl3slzkl5s5";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "0xscckcbw75pbcl4546ndrjs4682pn2sqqrd6qvqm0s6zswg7a0y";
};
propagatedBuildInputs = [ psutil pygit2];
propagatedBuildInputs = [
socat
psutil
hglib
pygit2
pyuv
i3ipc
];
# error: This is still beta and some tests still fail
# tests are travis-specific
doCheck = false;
postInstall = ''
@@ -29,19 +41,9 @@ buildPythonPackage rec {
install -m644 "font/PowerlineSymbols.otf" "$out/share/fonts/OTF/PowerlineSymbols.otf"
install -m644 "font/10-powerline-symbols.conf" "$out/etc/fonts/conf.d/10-powerline-symbols.conf"
install -dm755 "$out/share/vim/vimfiles/plugin"
install -m644 "powerline/bindings/vim/plugin/powerline.vim" "$out/share/vim/vimfiles/plugin/powerline.vim"
install -dm755 "$out/share/zsh/site-contrib"
install -m644 "powerline/bindings/zsh/powerline.zsh" "$out/share/zsh/site-contrib/powerline.zsh"
install -dm755 "$out/share/tmux"
install -m644 "powerline/bindings/tmux/powerline.conf" "$out/share/tmux/powerline.conf"
install -dm755 "$out/share/fish/vendor_functions.d"
install -m644 "powerline/bindings/fish/powerline-setup.fish" "$out/share/fish/vendor_functions.d/powerline-setup.fish"
'';
cp -ra powerline/bindings/{bash,fish,shell,tcsh,tmux,vim,zsh} $out/share/
rm $out/share/*/*.py
'';
meta = {
homepage = "https://github.com/powerline/powerline";

View File

@@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "prance";
version = "0.18.3";
version = "0.19.0";
src = fetchPypi {
inherit pname version;
sha256 = "4600ec749ade4f10d1cc8b07cd7a372f02985efd66100e287e67ccb1d48b5fc5";
sha256 = "0ffpfny3z8v3g0drirm27qafafbbvbc4h5k8v7yiwirnh0vn9v46";
};
buildInputs = [

View File

@@ -14,13 +14,13 @@
buildPythonPackage rec {
pname = "praw";
version = "6.5.1";
version = "7.1.0";
src = fetchFromGitHub {
owner = "praw-dev";
repo = "praw";
rev = "v${version}";
sha256 = "0d5whaw4731gllffhwrh2qqnlki4j8q83xaf3v4spkd40ps3q7b4";
sha256 = "07wyn2pa80ps55kk66rvf4daqyn3y5lzxhx6qh1lpn3p2bacbw9h";
};
nativeBuildInputs = [

View File

@@ -16,13 +16,13 @@
buildPythonPackage rec {
pname = "pre-commit";
version = "2.4.0";
version = "2.6.0";
disabled = isPy27;
src = fetchPypi {
inherit version;
pname = "pre_commit";
sha256 = "1l0lcl3l2544m2k8jlmblfsjn0p2hdxrzzwy646xpvp0rcs2wgkh";
sha256 = "05d9635v0yzrj2848m2hn9axbvds0dymv49rlyj238v3vlzncmqn";
};
patches = [

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "property-manager";
version = "2.3.1";
version = "3.0";
src = fetchFromGitHub {
owner = "xolox";
repo = "python-property-manager";
rev = version;
sha256 = "0s4nwipxd8c2vp4rd8mxrj8wbycniz5ki5n177d0dbrnll5amcz0";
sha256 = "1v7hjm7qxpgk92i477fjhpcnjgp072xgr8jrgmbrxfbsv4cvl486";
};
propagatedBuildInputs = [ coloredlogs humanfriendly verboselogs ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "PyChromecast";
version = "6.0.0";
version = "7.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "15beaafdb155885794443d99fa687a2787d8bad8ba440ecda10bb72bd6c8c815";
sha256 = "1wrl2mcsga60ps9fa6mf12c7agshwsvcmlrhwsbj1kmng5yqxq9h";
};
disabled = !isPy3k;

View File

@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "pyclipper";
version = "1.1.0.post3";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "164yksvqwqvwzh8f8lq92asg87hd8rvcy2xb5vm4y4ccvd5xgb7i";
sha256 = "0irs5sn6ldpg70630nfndghjnpxv8jldk61zyczfzp1jcz53b43s";
};
nativeBuildInputs = [

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "pycountry";
version = "19.8.18";
version = "20.7.3";
src = fetchPypi {
inherit pname version;
sha256 = "1jxkdjffrhn0il0nm14dlzxpd6f3v1hbxzxsprcksafgmm0almrw";
sha256 = "0hnbabsmqimx5hqh0jbd2f64i8fhzhhbrvid57048hs5sd9ll241";
};
meta = with stdenv.lib; {

View File

@@ -0,0 +1,37 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder }:
buildPythonPackage rec {
pname = "pydsdl";
version = "1.4.2";
disabled = pythonOlder "3.5"; # only python>=3.5 is supported
src = fetchFromGitHub {
owner = "UAVCAN";
repo = pname;
rev = version;
sha256 = "03kbpzdrjzj5vpgz5rhc110pm1axdn3ynv88b42zq6iyab4k8k1x";
};
propagatedBuildInputs = [
];
# allow for writable directory for darwin
preBuild = ''
export HOME=$TMPDIR
'';
# repo doesn't contain tests, ensure imports aren't broken
pythonImportsCheck = [
"pydsdl"
];
meta = with lib; {
description = "A UAVCAN DSDL compiler frontend implemented in Python";
longDescription = ''
It supports all DSDL features defined in the UAVCAN specification.
'';
homepage = "https://uavcan.org";
maintainers = with maintainers; [ wucke13 ];
license = licenses.mit;
};
}

View File

@@ -4,14 +4,14 @@
buildPythonPackage rec {
pname = "pygls";
version = "0.8.1";
version = "0.9.0";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "openlawlibrary";
repo = pname;
rev = "v${version}";
sha256 = "1853rfdks5n8nw6ig96j7his5kqd75hrvzvd0win4niycaqsag6m";
sha256 = "1wfp4hjin1mb6nkzhpfh5v8q8rwvn9zh0mwwj4dlxkqx5lp272hl";
};
postPatch = ''

View File

@@ -0,0 +1,28 @@
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, regex, pytest }:
buildPythonPackage rec {
pname = "pygrok";
version = "1.0.0";
src = fetchFromGitHub {
owner = "garyelephant";
repo = "pygrok";
rev = "v${version}";
sha256 = "07487rcmv74srnchh60jp0vg46g086qmpkaj8gxqhp9rj47r1s4m";
};
propagatedBuildInputs = [ regex ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
maintainers = with maintainers; [ winpat ];
description = "A python implementation of jordansissel's grok regular expression library";
homepage = "https://github.com/garyelephant/pygrok";
license = licenses.mit;
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,53 @@
{ lib, buildPythonPackage, fetchPypi
, dateutil, docopt, pyyaml
, pytest, testfixtures
}:
buildPythonPackage rec {
version = "1.7.0";
pname = "pykwalify";
src = fetchPypi {
inherit pname version;
sha256 = "1cnfzkg1b01f825ikpw2fhjclf9c8akxjfrbd1vc22x1lg2kk2vy";
};
propagatedBuildInputs = [
dateutil
docopt
pyyaml
];
checkInputs = [
pytest
testfixtures
];
checkPhase = ''
pytest \
-k 'not test_multi_file_support'
'';
meta = with lib; {
homepage = "https://github.com/Grokzen/pykwalify";
description = "YAML/JSON validation library";
longDescription = ''
This framework is a port with a lot of added functionality
of the Java version of the framework kwalify that can be found at
http://www.kuwata-lab.com/kwalify/
The original source code can be found at
http://sourceforge.net/projects/kwalify/files/kwalify-java/0.5.1/
The source code of the latest release that has been used can be found at
https://github.com/sunaku/kwalify.
Please note that source code is not the original authors code
but a fork/upload of the last release available in Ruby.
The schema this library is based on and extended from:
http://www.kuwata-lab.com/kwalify/ruby/users-guide.01.html#schema
'';
license = licenses.mit;
maintainers = with maintainers; [ siriobalmelli ];
};
}

View File

@@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "pylast";
version = "3.2.1";
version = "3.3.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "3c984be04c9a22a884c3106a7f75749466d27c68870d6fb7e1f56b71becea7c0";
sha256 = "1wqd23bbk5si2mcmswsi486zqnydjjf8g7924gcz6cc1x036lasd";
};
nativeBuildInputs = [ setuptools_scm ];

View File

@@ -1,11 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi, mupdf, swig }:
buildPythonPackage rec {
pname = "PyMuPDF";
version = "1.17.0";
version = "1.17.2";
src = fetchPypi {
inherit pname version;
sha256 = "0de92a8fb65db6e661594cc5865a340a2daac3cb9bb58e030820769ece1343c1";
sha256 = "1dn4kf6hcwr77pxlxirwmqk9kgpf55122xf48y1nhsmphkkk4ads";
};
patchPhase = ''

View File

@@ -0,0 +1,38 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, pytest }:
buildPythonPackage rec {
pname = "pypubsub";
version = "4.0.3";
disabled = isPy27;
src = fetchFromGitHub {
owner = "schollii";
repo = "pypubsub";
rev = "v4.0.3";
sha256 = "02j74w28wzmdvxkk8i561ywjgizjifq3hgcl080yj0rvkd3wivlb";
};
checkInputs = [ pytest ];
checkPhase = ''
cd tests/suite
py.test
'';
meta = with lib; {
homepage = "https://github.com/schollii/pypubsub";
description = "Python 3 publish-subcribe library";
longDescription = ''
Provides a publish-subscribe API to facilitate event-based or
message-based architecture in a single-process application. It is pure
Python and works on Python 3.3+. It is centered on the notion of a topic;
senders publish messages of a given topic, and listeners subscribe to
messages of a given topic, all inside the same process. The package also
supports a variety of advanced features that facilitate debugging and
maintaining topics and messages in larger desktop- or server-based
applications.
'';
license = licenses.bsd2;
maintainers = with maintainers; [ tfmoraes ];
};
}

View File

@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "pyqtgraph";
version = "0.10.0";
version = "0.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "4c08ab34881fae5ecf9ddfe6c1220b9e41e6d3eb1579a7d8ef501abb8e509251";
sha256 = "0p5k73wjfh0zzjvby8b5107cx7x0c2rdj66zh1nc8y95i0anf2na";
};
propagatedBuildInputs = [ scipy numpy pyqt4 pyopengl ];

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