Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk
2020-02-10 13:02:53 +01:00
210 changed files with 4015 additions and 1392 deletions

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "apprise";
version = "0.8.3";
version = "0.8.4";
src = fetchPypi {
inherit pname version;
sha256 = "1j925g7x0j8fzns431360myr8844swb8mb78wacw2vlj6x1c558c";
sha256 = "15kwnvs2ka6sg1gq65bbf9lk0jp104br813y6wvrbwipiz8kkjn1";
};
nativeBuildInputs = [ Babel ];

View File

@@ -0,0 +1,31 @@
{ stdenv, fetchPypi, buildPythonPackage
, traits, traitsui, configobj
, nose, tables, pandas
}:
buildPythonPackage rec {
pname = "apptools";
version = "4.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "1dw6vvq7lqkj7mgn3s7r5hs937kl4mj5g7jf2qgvhdld9lsc5xbk";
};
propagatedBuildInputs = [ traits traitsui configobj ];
checkInputs = [
nose
tables
pandas
];
doCheck = true;
meta = with stdenv.lib; {
description = "Set of packages that Enthought has found useful in creating a number of applications.";
homepage = https://github.com/enthought/apptools;
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
license = licenses.bsdOriginal;
};
}

View File

@@ -1,13 +1,13 @@
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, augeas, cffi }:
buildPythonPackage rec {
pname = "augeas";
version = "1.0.3";
version = "1.1.0";
src = fetchFromGitHub {
owner = "hercules-team";
repo = "python-augeas";
rev = "v${version}";
sha256 = "1fb904ym8g8hkd82zlibzk6wrldnfd5v5d0rkynsy1zlhcylq4f6";
sha256 = "12q52ilcx059rn544x3712xq6myn99niz131l0fs3xx67456pajh";
};
# TODO: not very nice!

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "awkward";
version = "0.12.19";
version = "0.12.20";
src = fetchPypi {
inherit pname version;
sha256 = "1s729a8205jzg7pfw8xgmi850x03p9nw8c6a602f5bnmhha96h45";
sha256 = "13494pnzz68qfnx17975h4c5l15idgg7wxl9r86q7jp5s1pphvb3";
};
nativeBuildInputs = [ pytestrunner ];

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-policyinsights";
version = "0.3.1";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "b27f5ac367b69e225ab02fa2d1ea20cbbfe948ff43b0af4698cd8cbde0063908";
sha256 = "1b69rz9wm0jvc54vx3b7h633x8gags51xwxrkp6myar40jggxw6g";
};
propagatedBuildInputs = [

View File

@@ -1,13 +1,13 @@
{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }:
buildPythonPackage rec {
version = "4.14.0";
version = "4.14.1";
pname = "breathe";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "178848e4088faf8c2c60f000379fcabfb3411b260e0fbddc08fb57e0e5caea08";
sha256 = "1ia9iq3kk0g8cqcsf03di3cnq295gfixriqfpp9wd38zf2wgq0l1";
};
propagatedBuildInputs = [ docutils six sphinx ];

View File

@@ -6,11 +6,11 @@
}:
buildPythonPackage rec {
pname = "cmd2";
version = "0.9.23";
version = "0.9.25";
src = fetchPypi {
inherit pname version;
sha256 = "17ic6lxzz9yrwxh3l1skcqgr59c47w5fidj5qmrk1l26rkrjxlca";
sha256 = "0w5jh2lanqxsva9fr9p07mmbd5w4v6zmhf6lr0awksvhjx77lhdc";
};
LC_ALL="en_US.UTF-8";

View File

@@ -0,0 +1,47 @@
{
stdenv,
buildPythonPackage,
fetchFromGitHub,
six,
requests,
django,
boto3,
python,
mock,
}:
buildPythonPackage rec {
pname = "django-anymail";
version = "6.1.0";
src = fetchFromGitHub {
owner = "anymail";
repo = pname;
rev = "v6.1";
sha256 = "04jgz3qnsnba18rlqgxyb2g9128pk3ivflnj6695kibxg724fcpv";
};
propagatedBuildInputs = [
six
requests
django
boto3
];
checkInputs = [ mock ];
checkPhase = ''
substituteInPlace setup.py --replace "tests_require=[" "tests_require=[], #"
export CONTINUOUS_INTEGRATION=1
export ANYMAIL_SKIP_TESTS="sparkpost"
${python.interpreter} setup.py test
'';
# this package allows multiple email backends
# sparkpost is missing because it's not packaged yet
meta = with stdenv.lib; {
description = "Django email backends and webhooks for Mailgun";
homepage = https://github.com/anymail/django-anymail;
license = licenses.bsd3;
maintainers = with maintainers; [ ivegotasthma ];
};
}

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "django-storages";
version = "1.8";
version = "1.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "000abaayhymh4rxmk19hwhlyibc62rs0qdfczkhf4wb3p9san8lk";
sha256 = "148y2hyx1l4pfbqpq8hgq95fw8bhfbblwd3m5xwnhw6frcirk7m5";
};
propagatedBuildInputs = [ django ];

View File

@@ -0,0 +1,33 @@
{ stdenv, fetchPypi, buildPythonPackage
, traits, apptools
, ipykernel
}:
buildPythonPackage rec {
pname = "envisage";
version = "4.7.2";
src = fetchPypi {
inherit pname version;
sha256 = "0jb5nw0w9x97jij0hd3d7kfzcj58r1cqmplmdy56bj11dyc4wyc9";
};
propagatedBuildInputs = [ traits apptools ];
preCheck = ''
export HOME=$PWD/HOME
'';
checkInputs = [
ipykernel
];
doCheck = true;
meta = with stdenv.lib; {
description = "Framework for building applications whose functionalities can be extended by adding 'plug-ins'";
homepage = https://github.com/enthought/envisage;
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
license = licenses.bsdOriginal;
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "feedgen";
version = "0.8.0";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "0551ixbcz2gaala4gi3i8gici3haijj7dhvjsz1a61s050276m96";
sha256 = "0jl0b87l7v6c0f1nx6k81skjhdj5i11kmchdjls00mynpvdip0cf";
};
propagatedBuildInputs = [ dateutil lxml ];

View File

@@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, Babel, celery, importlib-metadata, pytz, tornado, mock }:
buildPythonPackage rec {
pname = "flower";
version = "0.9.3";
src = fetchPypi {
inherit pname version;
sha256 = "7f45acb297ab7cf3dd40140816143a2588f6938dbd70b8c46b59c7d8d1e93d55";
};
propagatedBuildInputs = [ Babel celery importlib-metadata pytz tornado ];
checkInputs = [ mock ];
meta = with lib; {
description = "Celery Flower";
homepage = "https://github.com/mher/flower";
license = licenses.bsdOriginal;
maintainers = [ maintainers.arnoldfarkas ];
};
}

View File

@@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi, flake8, six, orderedmultidict }:
buildPythonPackage rec {
pname = "furl";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1v2lakx03d5w8954a39ki44xv5mllnq0a0avhxykv9hrzg0yvjpx";
};
checkInputs = [ flake8 ];
propagatedBuildInputs = [ six orderedmultidict ];
meta = with stdenv.lib; {
description = "URL manipulation made simple.";
homepage = https://github.com/gruns/furl;
license = licenses.publicDomain;
maintainers = with maintainers; [ vanzef ];
};
}

View File

@@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "geopandas";
version = "0.6.2";
version = "0.6.3";
src = fetchFromGitHub {
owner = "geopandas";
repo = "geopandas";
rev = "v${version}";
sha256 = "1wy2n204vf5bbswgma205lr1is7nnxr385m4x3v7pra05bq8ag3q";
sha256 = "11mzb5spwa06h1zhn7z905wcwya2x5srghv82jp5zjka9zdhsycd";
};
checkInputs = [ pytest Rtree ];

View File

@@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "geopy";
version = "1.20.0";
version = "1.21.0";
disabled = !isPy27; # only Python 2.7
doCheck = false; # Needs network access
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "9419bc90ee6231590c4ae7acf1cf126cefbd0736942da7a6a1436946e80830e2";
sha256 = "1p1sgy2p59j0297bp7c82b45bx4d3i1p4kvbgf89c9i0llyb80nw";
};
meta = with stdenv.lib; {

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "grpcio-tools";
version = "1.26.0";
version = "1.27.1";
src = fetchPypi {
inherit pname version;
sha256 = "5580b86cf49936c9c74f0def44d3582a7a1bb720eba8a14805c3a61efa790c70";
sha256 = "e29aa3f7a47d37f8a15605e97bec580baa6bb7ead7114b8d2f20d7b28da30c5c";
};
enableParallelBuilding = true;

View File

@@ -6,14 +6,14 @@
buildPythonPackage rec {
pname = "hstspreload";
version = "2020.1.17";
version = "2020.2.5";
disabled = isPy27;
src = fetchFromGitHub {
owner = "sethmlarson";
repo = pname;
rev = version;
sha256 = "08qcisiscnx74pwavh3ai3lg92zfrikwzr06p700kwk1gp8xhf3v";
sha256 = "1jz4qma04vkiczlj0fd9ahjf6c3yxvycvhp48c3n3l4aw4gfsbiz";
};
# tests require network connection

View File

@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchPypi, scipy }:
buildPythonPackage rec {
pname = "iapws";
version = "1.4";
src = fetchPypi {
inherit pname version;
sha256 = "3d7a7a17343157dacd3f654b7f82d1974492209756c4de99332d4f6b375227e6";
};
propagatedBuildInputs = [ scipy ];
meta = with lib; {
description = "Python implementation of standard from IAPWS";
homepage = "https://github.com/jjgomera/iapws";
license = licenses.gpl3;
maintainers = with maintainers; [ dawidsowa ];
};
}

View File

@@ -2,18 +2,18 @@
buildPythonPackage rec {
pname = "ijson";
version = "2.5.1";
version = "2.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "19ec46a2f7991004e5202ecee56c569616b8a7f95686ad7fd0a9ec81cac00269";
sha256 = "1l034zq23315icym2n0zppa5lwpdll3mvavmyjbiryxb4c5wdsvm";
};
doCheck = false; # something about yajl
meta = with stdenv.lib; {
description = "Iterative JSON parser with a standard Python iterator interface";
homepage = "https://github.com/isagalaev/ijson";
homepage = "https://github.com/ICRAR/ijson";
license = licenses.bsd3;
maintainers = with maintainers; [ rvl ];
};

View File

@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "jieba";
version = "0.40";
version = "0.42.1";
# no tests in PyPI tarball
src = fetchFromGitHub {
owner = "fxsjy";
repo = pname;
rev = "v${version}";
sha256 = "1nasyxva9m3k9fb9g627ppphp3697jdplbb2bavqx71sa7mqim2m";
sha256 = "028vmd6sj6wn9l1ilw7qfmlpyiysnlzdgdlhwxs6j4fvq0gyrwxk";
};
checkInputs = [ glibcLocales ];

View File

@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "jupyterlab";
version = "1.2.5";
version = "1.2.6";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "086zl3pdsq2jwcxv7ppp3lpwh25mgnn0y0s6scmkrz158yj55kp3";
sha256 = "0mc3nrj7fc5q2ajr09m261j386jsp8qjljg8anghlh8czc9ln4s2";
};
propagatedBuildInputs = [ jupyterlab_server notebook ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "kconfiglib";
version = "13.7.0";
version = "14.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0dkfprrsds64d2jbqnwdzb4why84jaj968s3ccmyqg5385nr9fwd";
sha256 = "0g690bk789hsry34y4ahvly5c8w8imca90ss4njfqf7m2qicrlmy";
};
# doesnt work out of the box but might be possible

View File

@@ -0,0 +1,34 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, dnspython
, sphinx
, pytest
}:
buildPythonPackage rec {
pname = "localzone";
version = "0.9.5";
src = fetchFromGitHub {
owner = "ags-slc";
repo = pname;
rev = "v${version}";
sha256 = "1zziqyhbg8vg901b4hjzzab0paag5cng48vk9xf1hchxk5naf58n";
};
propagatedBuildInputs = [ dnspython sphinx ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "A simple DNS library for managing zone files";
homepage = https://localzone.iomaestro.com;
license = licenses.bsd3;
maintainers = with maintainers; [ flyfloh ];
};
}

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "m3u8";
version = "0.5.2";
version = "0.5.4";
src = fetchFromGitHub {
owner = "globocom";
repo = pname;
rev = version;
sha256 = "0p6wmwv1nfa5pyakq5d55w9v142z5ja3db3s3qr44kx895d9lhng";
sha256 = "1a2c7vqcysxkaffk40zg8d60l9hpjk0dw221fy9cg72i8jxq1gmm";
};
checkInputs = [ bottle pytest pytestcov ];

View File

@@ -0,0 +1,37 @@
{ stdenv, fetchPypi, buildPythonPackage
, wxPython, pygments, numpy, vtk, traitsui, envisage, apptools
, nose, mock
, isPy3k
}:
buildPythonPackage rec {
pname = "mayavi";
version = "4.7.0";
src = fetchPypi {
inherit pname version;
extension = "tar.bz2";
sha256 = "02rg4j1vkny2piqn3f728kg34m54kgx396g6h5y7ykz2lk3f3h44";
};
# Discovery of 'vtk' in setuptools is not working properly, due to a missing
# .egg-info in the vtk package. It does however import and run just fine.
postPatch = ''
substituteInPlace mayavi/__init__.py --replace "'vtk'" ""
'';
propagatedBuildInputs = [ wxPython pygments numpy vtk traitsui envisage apptools ];
checkInputs = [ nose mock ];
disabled = isPy3k; # TODO: This would need pyqt5 instead of wxPython
doCheck = false; # Needs X server
meta = with stdenv.lib; {
description = "3D visualization of scientific data in Python";
homepage = https://github.com/enthought/mayavi;
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
license = licenses.bsdOriginal;
};
}

View File

@@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchFromGitHub, nbconvert, pytest, requests, responses }:
buildPythonPackage rec {
pname = "nbconflux";
version = "0.7.0";
src = fetchFromGitHub {
owner = "Valassis-Digital-Media";
repo = "nbconflux";
rev = version;
sha256 = "1708qkb275d6f7b4b5zmqx3i0jh56nrx2n9rwwp5nbaah5p2wwlh";
};
propagatedBuildInputs = [ nbconvert requests ];
checkInputs = [ pytest responses ];
checkPhase = ''
pytest tests
'';
meta = with lib; {
description = "Converts Jupyter Notebooks to Atlassian Confluence (R) pages using nbconvert";
homepage = "https://github.com/Valassis-Digital-Media/nbconflux";
license = licenses.bsd3;
maintainers = [ maintainers.arnoldfarkas ];
};
}

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

View File

@@ -1,19 +1,19 @@
{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils
, blockdiag
, blockdiag, setuptools
}:
buildPythonPackage rec {
pname = "nwdiag";
version = "1.0.4";
version = "2.0.0";
src = fetchurl {
url = "mirror://pypi/n/nwdiag/${pname}-${version}.tar.gz";
sha256 = "002565875559789a2dfc5f578c07abdf44269c3f7cdf78d4809bdc4bdc2213fa";
sha256 = "1qkl1lq7cblr6fra2rjw3zlcccragp8384hpm4n7dkc5c3yzmmsw";
};
buildInputs = [ pep8 nose unittest2 docutils ];
propagatedBuildInputs = [ blockdiag ];
propagatedBuildInputs = [ blockdiag setuptools ];
# tests fail
doCheck = false;

View File

@@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi, flake8, six }:
buildPythonPackage rec {
pname = "orderedmultidict";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "1bc2v0yflsxjyyjx4q9wqx0j3bvzcw9z87d5pz4iqac7bsxhn1q4";
};
checkInputs = [ flake8 ];
propagatedBuildInputs = [ six ];
meta = with stdenv.lib; {
description = "Ordered Multivalue Dictionary.";
homepage = https://github.com/gruns/orderedmultidict;
license = licenses.publicDomain;
maintainers = with maintainers; [ vanzef ];
};
}

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "persim";
version = "0.1.1";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "932bb0489d4dc158e4f007ec609c61e4700003d882d8e7bdac218b70d14ce9cf";
sha256 = "0vz6s49ar7mhg4pj4jcbwb79s8acqj6jc70va5w79pjxb5pw8k2n";
};
propagatedBuildInputs = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.11.2";
version = "8.11.3";
src = fetchPypi {
inherit pname version;
sha256 = "0j73mr3d3rf2r4nkaxbvl7323xima0l95pjagjzgk2piqwa3nbd2";
sha256 = "1rh0860ml00kw5c4b4r31wz5s8cmd5mpxx5slypdgljk4ralyg6p";
};
meta = {

View File

@@ -22,12 +22,12 @@
buildPythonPackage rec {
pname = "pikepdf";
version = "1.8.2";
version = "1.10.0";
disabled = ! isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1n3fd7i1br1s4f90yismgfcq9ix5kcqfacr7yy0hhhrabkf2sm37";
sha256 = "1qa4sam1kvglwqwk573mjpsy8cy89yamr4val0g80hq1ribc56ah";
};
buildInputs = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pyTelegramBotAPI";
version = "3.6.6";
version = "3.6.7";
src = fetchPypi {
inherit pname version;
sha256 = "00vycd7jvfnzmvmmhkjx9vf40vkcrwv7adas5i81r2jhjy7sks54";
sha256 = "0spn3gjbppyl4b7kqnc8g30qss72dcb1d6ap2bizyam5wn591z8f";
};
propagatedBuildInputs = [ requests ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pycollada";
version = "0.7";
version = "0.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "0b2vz9fp9asw57m3p9zjlz9gddanrhpxbdfimg98ik654kp2vj7r";
sha256 = "1rp4wlvfywgk3v6l3hnhjx61x9yqawvvivpq4dig2jj71k3mpsyj";
};
propagatedBuildInputs = [ numpy dateutil ];

View File

@@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "pydantic";
version = "1.3";
version = "1.4";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "samuelcolvin";
repo = pname;
rev = "v${version}";
sha256 = "0s85nzlsyj97j54zsgv569hkzv617z0vqsifsxkkyiimgbvnx7g8";
sha256 = "1zmnwyvvrj6nb2r1wh63yb6dzqaxw8m4njzqycjdq9911c5gwg6z";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,24 @@
{ stdenv, fetchPypi, buildPythonPackage
, setuptools, six, traits, wxPython
}:
buildPythonPackage rec {
pname = "pyface";
version = "6.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "1q5rihmhcdyyp44p31f5l4a0mc9m3293rvcnma5p8w0v8j7dbrm7";
};
propagatedBuildInputs = [ setuptools six traits wxPython ];
doCheck = false; # Needs X server
meta = with stdenv.lib; {
description = "Traits-capable windowing framework";
homepage = https://github.com/enthought/pyface;
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
license = licenses.bsdOriginal;
};
}

View File

@@ -0,0 +1,29 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, requests
}:
buildPythonPackage rec {
pname = "pyfcm";
version = "1.4.7";
src = fetchFromGitHub {
owner = "olucurious";
repo = "pyfcm";
rev = "${version}";
sha256 = "0aj10yvjsc04j15zbn403i83j7ra5yg35pi3ywkyakk8n1s0s3qg";
};
propagatedBuildInputs = [ requests ];
# pyfcm's unit testing suite requires network access
doCheck = false;
meta = with lib; {
description = "Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)";
homepage = "https://github.com/olucurious/pyfcm";
license = licenses.mit;
maintainers = with maintainers; [ ldelelis ];
};
}

View File

@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "pykka";
version = "1.2.0";
version = "2.0.1";
src = fetchgit {
url = "https://github.com/jodal/pykka.git";
rev = "refs/tags/v${version}";
sha256 = "0qlfw1054ap0cha1m6dbnq51kjxqxaf338g7jwnwy33b3gr8x0hg";
sha256 = "011rvv3vzj9rpwaq6vfpz9hfwm6gx1jmad4iri6z12g8nnlpydhs";
};
# There are no tests

View File

@@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "pylint-django";
version = "2.0.12";
version = "2.0.13";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "PyCQA";
repo = pname;
rev = "v${version}";
sha256 = "0ha06wpqqn5fp5dapgjhsdx3ahh3y62l7k2f3czlrdjmmivgdp9y";
sha256 = "16xfn8zs5khdfh5pdsv3wjjhywzc1qhx7mxi5kpbcvmd6an9qi7s";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "PyNamecheap";
version = "0.0.3";
propagatedBuildInputs = [ requests ];
# Tests require access to api.sandbox.namecheap.com
doCheck = false;
src = fetchFromGitHub {
owner = "Bemmu";
repo = pname;
rev = "v${version}";
sha256 = "1g1cd2yc6rpdsc5ax7s93y5nfkf91gcvbgcaqyl9ida6srd9hr97";
};
meta = with lib; {
description = "Namecheap API client in Python.";
homepage = https://github.com/Bemmu/PyNamecheap;
license = licenses.mit;
};
}

View File

@@ -1,5 +1,6 @@
{ stdenv
, buildPythonPackage
, isPy3k
, fetchFromGitHub
, substituteAll
, xmlsec
@@ -9,14 +10,16 @@
buildPythonPackage rec {
pname = "pysaml2";
version = "4.9.0";
version = "5.0.0";
disabled = !isPy3k;
# No tests in PyPI tarball
src = fetchFromGitHub {
owner = "IdentityPython";
repo = pname;
rev = "v${version}";
sha256 = "1ww1l34zn25vxifs8nr0bg7gkhbpy5g45mj0jj4d8hzimahb1brx";
sha256 = "0hwhxz45h8l1b0615hf855z7valfcmm0nb7k31bcj84v68zp5rjs";
};
patches = [

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "python-dotenv";
version = "0.10.4";
version = "0.10.5";
src = fetchPypi {
inherit pname version;
sha256 = "16s2x5ghrhz9ljm6h3y0pbwh97558vbs7l0yiicag4s0xyn0nzq0";
sha256 = "1p6xk0f1yj1s4n8wjs9m8xqilc5bcwvfzsy9nv5lrmkhr78bym7j";
};
propagatedBuildInputs = [ click ] ++ lib.optionals isPy27 [ typing ];

View File

@@ -5,6 +5,7 @@
, python
, pytest
, pycparser
, psutil
, pkgconfig
, dotnetbuildhelpers
, clang
@@ -20,10 +21,10 @@ let
outputFiles = [ "*" ];
};
NUnit360 = fetchNuGet {
NUnit371 = fetchNuGet {
baseName = "NUnit";
version = "3.6.0";
sha256 = "0wz4sb0hxlajdr09r22kcy9ya79lka71w0k1jv5q2qj3d6g2frz1";
version = "3.7.1";
sha256 = "1yc6dwaam4w2ss1193v735nnl79id78yswmpvmjr1w4bgcbdza4l";
outputFiles = [ "*" ];
};
@@ -31,11 +32,11 @@ in
buildPythonPackage rec {
pname = "pythonnet";
version = "2.3.0";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "1hxnkrfj8ark9sbamcxzd63p98vgljfvdwh79qj3ac8pqrgghq80";
sha256 = "1ach9jic7a9rd3vmc4bphkr9fq01a0qk81f8a7gr9npwzmkqx8x3";
};
postPatch = ''
@@ -55,20 +56,26 @@ buildPythonPackage rec {
dotnetbuildhelpers
clang
NUnit360
mono
NUnit371
UnmanagedExports127
];
buildInputs = [
mono
psutil # needed for memory leak tests
];
preBuild = ''
rm -rf packages
mkdir packages
ln -s ${NUnit360}/lib/dotnet/NUnit/ packages/NUnit.3.6.0
ln -s ${NUnit371}/lib/dotnet/NUnit/ packages/NUnit.3.7.1
ln -s ${UnmanagedExports127}/lib/dotnet/NUnit/ packages/UnmanagedExports.1.2.7
# Setting TERM=xterm fixes an issue with terminfo in mono: System.Exception: Magic number is wrong: 542
export TERM=xterm
'';
checkPhase = ''

View File

@@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, robotframework
}:
buildPythonPackage rec {
version = "1.2.4";
pname = "robotframework-databaselibrary";
src = fetchPypi {
inherit pname version;
sha256 = "627d872b3dda6a308a650ac9e676dadedf9c294e4ef70ad207cbb86b78eb8847";
};
# unit tests are impure
doCheck = false;
propagatedBuildInputs = [ robotframework ];
meta = with stdenv.lib; {
description = "Database Library contains utilities meant for Robot Framework";
homepage = https://github.com/franz-see/Robotframework-Database-Library;
license = licenses.asl20;
maintainers = with maintainers; [ talkara ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "rq";
version = "1.1.0";
version = "1.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "1fs03g1n1l8k03zwhkhckhsrnnsm3645sqby2nwh5gfij2kcc9sg";
sha256 = "0dk664lzjhj0rk4ffpv29mbcr7vh41ph1sx7ngszk3744gh1nshp";
};
# test require a running redis rerver, which is something we can't do yet

View File

@@ -0,0 +1,62 @@
{ lib
, buildPythonPackage
, fetchurl
, numpy
, scipy
, matplotlib
, pyparsing
, tables
, cython
, python
, sympy
}:
buildPythonPackage rec {
name = "sfepy_${version}";
version = "2019.2";
src = fetchurl {
url="https://github.com/sfepy/sfepy/archive/release_${version}.tar.gz";
sha256 = "17dj0wbchcfa6x27yx4d4jix4z4nk6r2640xkqcsw0mf62x5l1pj";
};
propagatedBuildInputs = [
numpy
cython
scipy
matplotlib
pyparsing
tables
sympy
];
postPatch = ''
# broken test
rm tests/test_homogenization_perfusion.py
# slow tests
rm tests/test_input_*.py
rm tests/test_elasticity_small_strain.py
rm tests/test_term_call_modes.py
rm tests/test_refine_hanging.py
rm tests/test_hyperelastic_tlul.py
rm tests/test_poly_spaces.py
rm tests/test_linear_solvers.py
rm tests/test_quadratures.py
'';
checkPhase = ''
export HOME=$TMPDIR
mv sfepy sfepy.hidden
mkdir -p $HOME/.matplotlib
echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
${python.interpreter} run_tests.py -o $TMPDIR/test_outputs --raise
'';
meta = with lib; {
homepage = https://sfepy.org/;
description = "Simple Finite Elements in Python";
license = licenses.bsd3;
maintainers = with maintainers; [ wd15 ];
};
}

View File

@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "simplekml";
version = "1.3.1";
version = "1.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "30c121368ce1d73405721730bf766721e580cae6fbb7424884c734c89ec62ad7";
sha256 = "08l24gfql83yjcdqb51nnnvckbnfb7bl89am4q9zr0fslrbcn3vf";
};
doCheck = false; # no tests are defined in 1.3.1
doCheck = false; # no tests are defined in 1.3.3
meta = with lib; {
description = "Generate KML with as little effort as possible";

View File

@@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, ptable
, click
, requests
, prompt_toolkit
, pygments
, urllib3
, pytest
, pytestcov
, mock
, sphinx
, testtools
}:
buildPythonPackage rec {
pname = "softlayer-python";
version = "5.8.4";
propagatedBuildInputs = [ ptable click requests prompt_toolkit pygments urllib3 ];
checkInputs = [ pytest pytestcov mock sphinx testtools ptable click requests prompt_toolkit pygments urllib3 ];
checkPhase = ''
pytest
'';
src = fetchFromGitHub {
owner = "softlayer";
repo = pname;
rev = "v${version}";
sha256 = "10kzi7kvvifr21a46q2xqsibs0bx5ys22nfym0bg605ka37vcz88";
};
meta = with lib; {
description = "A set of Python libraries that assist in calling the SoftLayer API.";
homepage = https://github.com/softlayer/softlayer-python;
license = licenses.mit;
};
}

View File

@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "sphinxcontrib-tikz";
version = "0.4.6";
version = "0.4.8";
src = fetchPypi {
inherit pname version;
sha256 = "4f362b11e3c2bd17d5f0f07fec03917c16fc5bbcda6fe31ee137c547ed6b03a3";
sha256 = "1rvm0l40iz1z03d09irkqdwzi9gs6pn0203hylaqbix5c7gabwhy";
};
patches = [

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "spotipy";
version = "2.6.1";
version = "2.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "1jpj9ljc5g89jbnzwnmgz5s6jdrsgd6g9s09igvbw3pppi9070h0";
sha256 = "1i4gpmvjk608fxz1kwfb3dnmm4dydr0bir0zw9k2nng7n8b6knvr";
};
propagatedBuildInputs = [ requests ];

View File

@@ -0,0 +1,24 @@
{ stdenv, fetchPypi, buildPythonPackage
, traits, pyface, wxPython
}:
buildPythonPackage rec {
pname = "traitsui";
version = "6.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "080fq9hag7hvcnsd5c5fn74zjmjl6rjq40r0zwdz2bjlk9049xpi";
};
propagatedBuildInputs = [ traits pyface wxPython ];
doCheck = false; # Needs X server
meta = with stdenv.lib; {
description = "Traits-capable windowing framework";
homepage = https://github.com/enthought/traitsui;
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
license = licenses.bsdOriginal;
};
}

View File

@@ -0,0 +1,39 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, requests
, cryptography
, suds-jurko
, pytest
}:
buildPythonPackage rec {
pname = "transip-api";
version = "2.0.0";
src = fetchFromGitHub {
owner = "benkonrath";
repo = pname;
rev = "v${version}";
sha256 = "153x8ph7cp432flaqiy2zgp060ddychcqcrssxkcmjvbm86xrz17";
};
checkInputs = [ pytest ];
# Constructor Tests require network access
checkPhase = ''
pytest --deselect=tests/service_tests/test_domain.py::TestDomainService::test_constructor \
--deselect tests/service_tests/test_vps.py::TestVPSService::testConstructor \
--deselect tests/service_tests/test_webhosting.py::TestWebhostingService::testConstructor
'';
propagatedBuildInputs = [ requests cryptography suds-jurko ];
meta = with stdenv.lib; {
description = "TransIP API Connector";
homepage = https://github.com/benkonrath/transip-api;
license = licenses.mit;
maintainers = with maintainers; [ flyfloh ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "ua-parser";
version = "0.8.0";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "97bbcfc9321a3151d96bb5d62e54270247b0e3be0590a6f2ff12329851718dcb";
sha256 = "1qpw1jdm8bp09jwjp8r38rr7rd2jy4k2if798cax3wylphm285xy";
};
buildInputs = [ pyyaml ];

View File

@@ -6,12 +6,12 @@
}:
buildPythonPackage rec {
version = "0.7.2";
version = "0.7.3";
pname = "uproot-methods";
src = fetchPypi {
inherit pname version;
sha256 = "4382983e4e6c5e1aeb3013d04334907f87f62b0d7c19a29968e5a0aac1653ae1";
sha256 = "01x7raa2l75g96y6fsi6h2fjpjm0swlnw0j9vn8mlahridycrjss";
};
propagatedBuildInputs = [ numpy awkward ];

View File

@@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "uproot";
version = "3.11.1";
version = "3.11.2";
src = fetchPypi {
inherit pname version;
sha256 = "1m6yjvdbffyk32gmfki7h01frlg9vhqf8g734m4gxyyf8m8g60zd";
sha256 = "1bn8z640408s4h04ymy0y79fm5ss2mx99mkgdbw68a80x0p6982h";
};
nativeBuildInputs = [ pytestrunner ];

View File

@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "user-agents";
version = "2.0";
version = "2.1.0";
# PyPI is missing devices.json
src = fetchFromGitHub {
owner = "selwin";
repo = "python-user-agents";
rev = "v${version}";
sha256 = "0ix2yajqdnfj433j50dls90mkmqz8m4fiywxg097zwkkc95wm8s4";
sha256 = "04bndajsfnpymxfiggnj7g38cmlvca3ry5k2611x8ibp38x53yhc";
};
propagatedBuildInputs = [ ua-parser ];

View File

@@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, python
, zc_buildout
, zope_testrunner
}:
buildPythonPackage rec {
pname = "z3c-checkversions";
version = "1.1";
src = fetchPypi {
inherit version;
pname = "z3c.checkversions";
sha256 = "b45bd22ae01ed60933694fb5abede1ff71fe8ffa79b37082b2fcf38a2f0dec9d";
};
propagatedBuildInputs = [ zc_buildout ];
checkInputs = [ zope_testrunner ];
checkPhase = ''
${python.interpreter} -m zope.testrunner --test-path=src []
'';
meta = with stdenv.lib; {
homepage = https://github.com/zopefoundation/z3c.checkversions;
description = "Find newer package versions on PyPI";
license = licenses.zpl21;
};
}