Merge remote-tracking branch 'upstream/master' into add-tensorflow-2

This commit is contained in:
John Ericson
2020-03-30 13:59:16 +00:00
3425 changed files with 109502 additions and 69919 deletions

View File

@@ -5,11 +5,12 @@
}:
buildPythonPackage rec {
pname = "3to2";
pname = "py3to2";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
inherit version;
pname = "3to2";
extension = "zip";
sha256 = "fef50b2b881ef743f269946e1090b77567b71bb9a9ce64b7f8e699b562ff685c";
};

View File

@@ -1,13 +1,13 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, substituteAll, git, gitdb2, mock, nose, ddt }:
{ lib, buildPythonPackage, fetchPypi, isPy27, substituteAll, git, gitdb, mock, nose, ddt }:
buildPythonPackage rec {
version = "3.0.5";
version = "3.1.0";
pname = "GitPython";
disabled = isPy27; # no longer supported
src = fetchPypi {
inherit pname version;
sha256 = "9c2398ffc3dcb3c40b27324b316f08a4f93ad646d5a6328cafbb871aa79f5e42";
sha256 = "1jzllsy9lwc9yibccgv7h9naxisazx2n3zmpy21c8n5xhysw69p4";
};
patches = [
@@ -18,7 +18,7 @@ buildPythonPackage rec {
];
checkInputs = [ nose ] ++ lib.optional isPy27 mock;
propagatedBuildInputs = [ gitdb2 ddt ];
propagatedBuildInputs = [ gitdb ddt ];
# Tests require a git repo
doCheck = false;

View File

@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "ROPGadget";
version = "6.0";
version = "6.2";
src = fetchPypi {
inherit pname version;
sha256 = "02wgrdrg0s0cr9yjsb4945244m8x8rr8jzxr8h8c6k2na4d17xf4";
sha256 = "0idiicgpijar9l9kqmfdh865c2mkfgxg0q7lpz77jc09l6q0afjh";
};
propagatedBuildInputs = [ capstone ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Rtree";
version = "0.9.3";
version = "0.9.4";
src = fetchPypi {
inherit pname version;
sha256 = "55c046a98e8d84235792de1f18635f680d7b4085264fbced6b073f28fcbe353a";
sha256 = "0i1zlyz6vczy3cgg7fan5hq9zzjm7s7zdzfh83ma8g9vq3i2gqya";
};
propagatedBuildInputs = [ libspatialindex ];

View File

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

View File

@@ -3,7 +3,7 @@
buildPythonPackage rec {
pname = "XlsxWriter";
version = "1.2.6";
version = "1.2.8";
# 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 = "05y1py5mn1m65bbwhinzv84jd3xj8snvf2795flw0xbxnkn8nd8p";
sha256 = "18q5sxm9jw5sfavdjy5z0yamknwj5fl359jziqllkbj5k2i16lnr";
};
meta = {

View File

@@ -3,14 +3,14 @@
buildPythonPackage rec {
pname = "acoustics";
version = "0.2.3";
version = "0.2.4";
checkInputs = [ pytest ];
propagatedBuildInputs = [ numpy scipy matplotlib pandas tabulate ];
src = fetchPypi {
inherit pname version;
sha256 = "ca663059d61fbd2899aed4e3cedbc3f983aa67afd3ae1617db3c59b724206fb3";
sha256 = "8ccb68ac258ba81a0b9064523e85eae013f9bfce7244d01db42d7d2d21d712cc";
};
checkPhase = ''
@@ -25,6 +25,6 @@ buildPythonPackage rec {
description = "A package for acousticians";
maintainers = with maintainers; [ fridh ];
license = with licenses; [ bsd3 ];
homepage = https://github.com/python-acoustics/python-acoustics;
homepage = "https://github.com/python-acoustics/python-acoustics";
};
}

View File

@@ -10,11 +10,11 @@
# wrapped to be able to find aioconsole and any other packages.
buildPythonPackage rec {
pname = "aioconsole";
version = "0.1.15";
version = "0.1.16";
src = fetchPypi {
inherit pname version;
sha256 = "0gbl08p89959g8dqy2vainppg3kyf948xlh18p7iwk5p0mw5d3j9";
sha256 = "0yk4ghvg47drfvdrrcw7nk14pg4shccmyhln9d8hy1lyafcqmnd5";
};
# hardcodes a test dependency on an old version of pytest-asyncio
@@ -22,7 +22,7 @@ buildPythonPackage rec {
meta = {
description = "Asynchronous console and interfaces for asyncio";
homepage = https://github.com/vxgmichel/aioconsole;
homepage = "https://github.com/vxgmichel/aioconsole";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.catern ];
};

View File

@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "aiohttp-socks";
version = "0.3.4";
version = "0.3.6";
src = fetchPypi {
inherit version;
pname = "aiohttp_socks";
sha256 = "1gc74a0i0slq3gn9kv3scn7c9x444z5nwjm3d14qilsgq6civsnd";
sha256 = "0js7p9qj5x6k8i2cby4c6mw6xrp4dy4m82f3n1l8rz00qibmj37j";
};
propagatedBuildInputs = [ aiohttp attrs ];
@@ -20,6 +20,6 @@ buildPythonPackage rec {
meta = {
description = "SOCKS proxy connector for aiohttp";
license = lib.licenses.asl20;
homepage = https://github.com/romis2012/aiohttp-socks;
homepage = "https://github.com/romis2012/aiohttp-socks";
};
}

View File

@@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
@@ -35,7 +36,7 @@ buildPythonPackage rec {
};
checkInputs = [
pytestrunner pytest gunicorn pytest-timeout async_generator pytest_xdist
pytestrunner pytest gunicorn async_generator pytest_xdist
pytest-mock pytestcov trustme brotlipy freezegun
];
@@ -54,6 +55,7 @@ buildPythonPackage rec {
and not handle_keepalive_on_closed_connection \
and not proxy_https_bad_response \
and not partially_applied_handler \
${lib.optionalString stdenv.is32bit "and not test_cookiejar"} \
and not middleware" \
--ignore=test_connector.py
'';

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "aioresponses";
version = "0.6.2";
version = "0.6.3";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0srqbxxxffi3idqd161n5b90xyqy9gibigxxmvqag3nxab5vw1j6";
sha256 = "06w15iyr07s861hkzqfdclzxkpvgg83sx8f235mz8k2490hnyqvv";
};
nativeBuildInputs = [

View File

@@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "aiorun";
version = "2020.1.3";
version = "2020.2.1";
format = "flit";
disabled = isPy27;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "cjrh";
repo = pname;
rev = "v${version}";
sha256 = "0ka0pj6xr47j7rw6kd5mkrr5jyhn631pfpd95ig7vbln4434qnb4";
sha256 = "0wcj8prkijb889ic8n6varms7xkwy028hhw0imgkd1i0p64lm3m4";
};
checkInputs = [

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, buildPythonPackage, python, fetchFromGitHub, isPy3k
{ stdenv, lib, buildPythonPackage, python, fetchFromGitHub, fetchpatch, isPy3k
, notmuch, urwid, urwidtrees, twisted, python_magic, configobj, mock, file, gpgme
, service-identity
, gnupg ? null, sphinx, awk ? null, procps ? null, future ? null
@@ -19,6 +19,15 @@ buildPythonPackage rec {
sha256 = "sha256-WUwOJcq8JE7YO8sFeZwYikCRhpufO0pL6MKu54ZYsHI=";
};
patches = [
# can't compose email if signature is set: https://github.com/pazz/alot/issues/1468
(fetchpatch {
name = "envelope-body.patch";
url = "https://github.com/pazz/alot/commit/28a4296c7f556c251d71d9502681980d46d9fa55.patch";
sha256 = "1iwvmjyz4mh1g08vr85ywhah2xarcqg8dazagygk19icgsn45w06";
})
];
nativeBuildInputs = lib.optional withManpage sphinx;
propagatedBuildInputs = [

View File

@@ -1,17 +1,21 @@
{ lib
, fetchPypi
, buildPythonPackage
, isPy27
, ansible
, pyyaml
, six
, nose
, setuptools_scm
, ruamel_yaml
, pathlib2
}:
buildPythonPackage rec {
pname = "ansible-lint";
version = "4.2.0";
# pip is not able to import version info on raumel.yaml
disabled = isPy27;
src = fetchPypi {
inherit pname version;
@@ -21,7 +25,8 @@ buildPythonPackage rec {
format = "pyproject";
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pyyaml six ansible ruamel_yaml ];
propagatedBuildInputs = [ pyyaml six ansible ruamel_yaml ]
++ lib.optionals isPy27 [ pathlib2 ];
checkInputs = [ nose ];
postPatch = ''

View File

@@ -6,6 +6,7 @@
, python-daemon
, pyyaml
, six
, stdenv
, ansible
, pytest
, mock
@@ -30,8 +31,12 @@ buildPythonPackage rec {
six
];
# test_process_isolation_settings is currently broken on Darwin Catalina
# https://github.com/ansible/ansible-runner/issues/413
checkPhase = ''
HOME=$(mktemp -d) pytest --ignore test/unit/test_runner.py -k "not test_prepare"
HOME=$TMPDIR pytest \
--ignore test/unit/test_runner.py \
-k "not prepare ${lib.optionalString stdenv.isDarwin "and not process_isolation_settings"}"
'';
meta = with lib; {

View File

@@ -134,35 +134,36 @@ buildPythonPackage rec {
];
postPatch = ''
substituteInPlace setup.py \
--replace "flask>=1.1.0, <2.0" "flask" \
--replace "jinja2>=2.10.1, <2.11.0" "jinja2" \
--replace "pandas>=0.17.1, <1.0.0" "pandas" \
--replace "flask-caching>=1.3.3, <1.4.0" "flask-caching" \
--replace "flask-appbuilder>=1.12.5, <2.0.0" "flask-appbuilder" \
--replace "pendulum==1.4.4" "pendulum" \
--replace "cached_property~=1.5" "cached_property" \
--replace "dill>=0.2.2, <0.3" "dill" \
--replace "configparser>=3.5.0, <3.6.0" "configparser" \
--replace "jinja2>=2.7.3, <=2.10.0" "jinja2" \
--replace "funcsigs==1.0.0" "funcsigs" \
--replace "flask-swagger==0.2.13" "flask-swagger" \
--replace "python-daemon>=2.1.1, <2.2" "python-daemon" \
--replace "alembic>=0.9, <1.0" "alembic" \
--replace "markdown>=2.5.2, <3.0" "markdown" \
--replace "future>=0.16.0, <0.17" "future" \
--replace "tenacity==4.12.0" "tenacity" \
--replace "text-unidecode==1.2" "text-unidecode" \
--replace "tzlocal>=1.4,<2.0.0" "tzlocal" \
--replace "sqlalchemy~=1.3" "sqlalchemy" \
--replace "gunicorn>=19.5.0, <20.0" "gunicorn" \
--replace "werkzeug>=0.14.1, <0.15.0" "werkzeug"
substituteInPlace setup.py \
--replace "flask>=1.1.0, <2.0" "flask" \
--replace "flask-caching>=1.3.3, <1.4.0" "flask-caching" \
--replace "flask-appbuilder>=1.12.5, <2.0.0" "flask-appbuilder" \
--replace "pendulum==1.4.4" "pendulum" \
--replace "cached_property~=1.5" "cached_property" \
--replace "dill>=0.2.2, <0.3" "dill" \
--replace "configparser>=3.5.0, <3.6.0" "configparser" \
--replace "jinja2>=2.7.3, <=2.10.0" "jinja2" \
--replace "funcsigs==1.0.0" "funcsigs" \
--replace "flask-swagger==0.2.13" "flask-swagger" \
--replace "python-daemon>=2.1.1, <2.2" "python-daemon" \
--replace "alembic>=0.9, <1.0" "alembic" \
--replace "markdown>=2.5.2, <3.0" "markdown" \
--replace "future>=0.16.0, <0.17" "future" \
--replace "tenacity==4.12.0" "tenacity" \
--replace "text-unidecode==1.2" "text-unidecode" \
--replace "tzlocal>=1.4,<2.0.0" "tzlocal" \
--replace "sqlalchemy~=1.3" "sqlalchemy" \
--replace "gunicorn>=19.5.0, <20.0" "gunicorn" \
--replace "werkzeug>=0.14.1, <0.15.0" "werkzeug"
# dumb-init is only needed for CI and Docker, not relevant for NixOS.
substituteInPlace setup.py \
--replace "'dumb-init>=1.2.2'," ""
# dumb-init is only needed for CI and Docker, not relevant for NixOS.
substituteInPlace setup.py \
--replace "'dumb-init>=1.2.2'," ""
substituteInPlace tests/core.py \
--replace "/bin/bash" "${stdenv.shell}"
substituteInPlace tests/core.py \
--replace "/bin/bash" "${stdenv.shell}"
'';
checkPhase = ''
@@ -182,8 +183,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Programmatically author, schedule and monitor data pipelines";
homepage = http://airflow.apache.org/;
homepage = "http://airflow.apache.org/";
license = licenses.asl20;
maintainers = [ maintainers.costrouc maintainers.ingenieroariel ];
maintainers = with maintainers; [ costrouc ingenieroariel ];
};
}

View File

@@ -1,25 +1,37 @@
{ buildPythonPackage, fetchPypi, lib,
dicttoxml, pexpect, prettytable, requests_toolbelt
{ buildPythonPackage, fetchPypi, lib
, dicttoxml
, importlib-metadata
, pexpect
, prettytable
, requests_toolbelt
}:
buildPythonPackage rec {
pname = "argcomplete";
version = "1.10.3";
version = "1.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "a37f522cf3b6a34abddfedb61c4546f60023b3799b22d1cd971eacdc0861530a";
sha256 = "0h1przxffrhqvi46k40pzjsvdrq4zc3sl1pc96kkigqppq0vdrss";
};
doCheck = false; # bash-completion test fails with "compgen: command not found".
doCheck = false; # meant to be ran with interactive interpreter
# re-enable if we are able to make testing work
# buildInputs = [ coverage flake8 ];
# checkInputs = [ bashInteractive coverage flake8 ];
propagatedBuildInputs = [ dicttoxml pexpect prettytable requests_toolbelt ];
propagatedBuildInputs = [
dicttoxml
importlib-metadata
pexpect
prettytable
requests_toolbelt
];
pythonImportsCheck = [ "argcomplete" ];
meta = with lib; {
description = "Bash tab completion for argparse";
homepage = https://argcomplete.readthedocs.io;
homepage = "https://kislyuk.github.io/argcomplete/";
maintainers = [ maintainers.womfoo ];
license = [ licenses.asl20 ];
};

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "arrow";
version = "0.15.4";
version = "0.15.5";
src = fetchPypi {
inherit pname version;
sha256 = "e1a318a4c0b787833ae46302c02488b6eeef413c6a13324b3261ad320f21ec1e";
sha256 = "0yq2bld2bjxddmg9zg4ll80pb32rkki7xyhgnrqnkxy5w9jf942k";
};
checkPhase = ''

View File

@@ -15,12 +15,12 @@
buildPythonPackage rec {
pname = "asdf";
version = "2.5.0";
version = "2.5.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1qddczr5vhlbhmzmw6bwmkrvsj8dml76zf9gnk22qzab60ali99j";
sha256 = "0ai5l62ldaq1cqfmq3hvnzp8gp0hjjmjnck9d3cnx5r8la5ig18y";
};
postPatch = ''
@@ -50,7 +50,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python tools to handle ASDF files";
homepage = https://github.com/spacetelescope/asdf;
homepage = "https://github.com/spacetelescope/asdf";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};

View File

@@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
buildPythonPackage rec {
version = "3.2.3";
version = "3.2.5";
pname = "asgiref";
disabled = pythonOlder "3.5";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "django";
repo = pname;
rev = version;
sha256 = "1b8h50wvvby9m17q39kc0ql8a2yvg2f89ii7zrl2phaw0vb9i109";
sha256 = "040g2cghpskp427xiw9jv7c0lfj1sk5fc01dds8pi7grkk0br357";
};
propagatedBuildInputs = [ async-timeout ];
@@ -24,6 +24,6 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Reference ASGI adapters and channel layers";
license = licenses.bsd3;
homepage = https://github.com/django/asgiref;
homepage = "https://github.com/django/asgiref";
};
}

View File

@@ -9,21 +9,26 @@
, pytest
, pytest-astropy
, astropy-helpers
, isPy3k
}:
buildPythonPackage rec {
pname = "astroquery";
version = "0.3.10";
version = "0.4";
src = fetchPypi {
inherit pname version;
sha256 = "1ce57a8792c7d5d74206d797d379de6da35d56be433ea5840c41a49f202e2fab";
sha256 = "1ddwnj9vpvxkrfb45c4pwv5f5za9kn2q0040dpw2ymj2bwlpl61h";
};
disabled = !isPy3k;
propagatedBuildInputs = [ astropy requests keyring beautifulsoup4 html5lib ];
nativeBuildInputs = [ astropy-helpers ];
# Tests disabled until pytest-astropy has been updated to include pytest-astropy-header
doCheck = false;
checkInputs = [ pytest pytest-astropy ];
# Disable automatic update of the astropy-helper module

View File

@@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "atlassian-python-api";
version = "1.14.9";
version = "1.15.4";
src = fetchPypi {
inherit pname version;
sha256 = "28ff793cb43152384a810efc6ee572473daf3dc44bf7c1c295efb270a6d29251";
sha256 = "0vkq3sr4a23ipk74swsmc3ydg3q91asixb7hzl8mzkfpgnnyvr77";
};
checkInputs = [ pytestrunner pytest ];

View File

@@ -8,14 +8,14 @@
}:
buildPythonPackage rec {
version = "0.13";
version = "0.14.1";
pname = "authlib";
src = fetchFromGitHub {
owner = "lepture";
repo = "authlib";
rev = "v${version}";
sha256 = "1nv0jbsaqr9qjn7nnl55s42iyx655k7fsj8hs69652lqnfn5y3d5";
sha256 = "0z56r5s8z8pfp0p8zrf1chgzan4q25zg0awgc7bgkvkwgxbhzx4m";
};
propagatedBuildInputs = [ cryptography requests ];
@@ -27,7 +27,7 @@ buildPythonPackage rec {
'';
meta = with stdenv.lib; {
homepage = https://github.com/lepture/authlib;
homepage = "https://github.com/lepture/authlib";
description = "The ultimate Python library in building OAuth and OpenID Connect servers. JWS,JWE,JWK,JWA,JWT included.";
maintainers = with maintainers; [ flokli ];
license = licenses.bsd3;

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "av";
version = "6.2.0";
version = "7.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "1wm33qajxcpl9rn7zfb2pwwqn87idb7ic7h5zwy2hgbpjnh3vc2g";
sha256 = "10qav9dryly9h6n8vypx5m334v2lh88fsvgfg0zjy4bxjslay4zv";
};
checkInputs = [ numpy ];

View File

@@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "aws-lambda-builders";
version = "0.6.0";
version = "0.8.0";
# No tests available in PyPI tarball
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-lambda-builders";
rev = "v${version}";
sha256 = "0bvph58wrw9in5irdbv103knvw2dhqs3kapqv5lpaac9dn7lsk6q";
sha256 = "1akiv92cd7ciky0aay94lh9azr73jajn0x0x6ywaf3qm5c4hyvys";
};
# Package is not compatible with Python 3.5

View File

@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "aws-sam-translator";
version = "1.19.1";
version = "1.21.0";
src = fetchPypi {
inherit pname version;
sha256 = "a62f31ac81a9f36a89ba61b147c5df5819e73af3562859711191354d86836326";
sha256 = "0diyqiwas9fhkj7p5hm08lvkd5h9yn9zqilwww2av04mclfk82ij";
};
# Tests are not included in the PyPI package

View File

@@ -9,14 +9,14 @@
}:
buildPythonPackage rec {
version = "1.1.24";
version = "1.1.25";
pname = "azure-common";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "184ad6a05a3089dfdc1ce07c1cbfa489bbc45b5f6f56e848cac0851e6443da21";
sha256 = "ce0f1013e6d0e9faebaf3188cc069f4892fc60a6ec552e3f817c1a2f92835054";
};
propagatedBuildInputs = [

View File

@@ -1,6 +1,7 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
, aiodns
, aiohttp
, mock
, msrest
, pytest
, pytestCheckHook
@@ -11,14 +12,14 @@
}:
buildPythonPackage rec {
version = "1.2.1";
version = "1.3.0";
pname = "azure-core";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1fff6g5lszn97qz1h4l1n255r9538yybb329ilb2rwdfq3q9kkg2";
sha256 = "98d03a35845fe5b6abaa32f5961214da3e16c4c82b8c601926fc5e7f3a39549e";
};
propagatedBuildInputs = [
@@ -29,6 +30,7 @@ buildPythonPackage rec {
checkInputs = [
aiodns
aiohttp
mock
msrest
pytest
pytestCheckHook

View File

@@ -17,13 +17,13 @@
buildPythonPackage rec {
pname = "azure-identity";
version = "1.1.0";
version = "1.3.0";
disabled = isPy38;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1xn4nwi4vly8n3mmphv0wbdg9k55gsgmk3fdwma8rm3m3c7593hc";
sha256 = "17fa904e0447fd2a2dc19909379edb769b05656dbaf4863b8c4fdfb2bb54350c";
};
propagatedBuildInputs = [

View File

@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "azure-keyvault-keys";
version = "4.0.0";
version = "4.1.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1l1fwm8plzr5zbv02nlvs0i8ssmd88cxm5lb19i54b3scci77hiq";
sha256 = "f9967b4deb48e619f6c40558f69e48978779cc09c8a7fad33d536cfc41cd68f9";
};
propagatedBuildInputs = [

View File

@@ -6,13 +6,13 @@
buildPythonPackage rec {
pname = "azure-keyvault-secrets";
version = "4.0.0";
version = "4.1.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "066p4x2ixasz6qbxss2ilchl73w1kh2nc32lgh8qygl3d90059lp";
sha256 = "4f3bfac60e025e01dd1c1998b73649d45d706975356c0cf147174cf5a6ddf8be";
};
propagatedBuildInputs = [

View File

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

View File

@@ -28,8 +28,7 @@ buildPythonPackage rec {
];
postInstall = lib.optionalString isPy3k ''
rm $out/${python.sitePackages}/azure/__init__.py
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py
'';
# has no tests
@@ -39,6 +38,6 @@ buildPythonPackage rec {
description = "This is the Microsoft Azure Application Insights Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
maintainers = with maintainers; [ jonringer mwilsoninsight ];
};
}

View File

@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-cognitiveservices";
version = "5.0.0";
version = "6.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1m7v3rfkvmdgghrpz15fm8pvmmhi40lcwfxdm2kxh7mx01r5l906";
sha256 = "d03641336f4b2ec561112655c93ee80bc28d8e8daa45a57abc36169bd19c07a0";
};
propagatedBuildInputs = [

View File

@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
version = "10.0.0";
version = "11.1.0";
pname = "azure-mgmt-compute";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1s3bx6knxw5dxycp43yimvgrh0i19drzd09asglcwz2x5mr3bpyg";
sha256 = "00ygppmlx21dxvb0swfdyhqf5xhi0zxy26abcgql02w0lklw91nj";
};
postInstall = if isPy3k then "" else ''

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
version = "8.2.0";
version = "9.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0czn781ywbwi8px54nlccsvw5s13y4wqmxhcrxkkl0y7rblqi5pr";
sha256 = "6f05948bbd19ceb894f46f037b77c54116183364a671e180c007b5737c8d4590";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-cosmosdb";
version = "0.11.0";
version = "0.12.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "3f6c1369903856864c7e4a05c2c261563153597172b182382d6332f3acd04016";
sha256 = "07c0hr7nha9789x1wz0ndca0sr0zscq63m9vd8pm1c6y0ss4iyn5";
};
propagatedBuildInputs = [

View File

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

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-hanaonazure";
version = "0.12.0";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "cc844a152079e0d18fb5f47663a24cb204982925425c1fb51bac53894885000b";
sha256 = "cc4058174e371a0b68b305cd5a082fcca47f3446dd9aefd9ada72da4bd637da9";
};
propagatedBuildInputs = [

View File

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

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-iothub";
version = "0.10.0";
version = "0.11.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1xms5wf21z9i28xl0p515xb08mrlsqnzhxcwv7pjlf26lwxadfi0";
sha256 = "f6fbb87d9bf29ce325543c9a3a125fbe45f4797f3a7f260c6c21ca60dc3f0885";
};
propagatedBuildInputs = [

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-keyvault";
version = "2.0.0";
version = "2.2.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "057ii54h8yr7rhfnbl0r29xbsg7mhf031hjffmdv0zf93552kmja";
sha256 = "1883e12eeb5819064dc52bf3a3ade05c791f4b66e4aeec948bda28df6ce2bce4";
};
propagatedBuildInputs = [

View File

@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "0.5.0";
version = "0.7.0";
pname = "azure-mgmt-kusto";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0r6j3yp7ys0zgszqdjm6y90nigsapni4xhfpfgyk5c5qbgdpl93w";
sha256 = "40f8e62db145d31731018b83baf2d1a78b585514c373dd3c095f1f6835d17d23";
extension = "zip";
};

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-monitor";
version = "0.7.0";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1pprvk5255b6brbw73g0g13zygwa7a2px5x08wy3153rqlzan5l2";
sha256 = "09bhk6kpf1j1kgsyfdrfmfixrdj0iikx25dr1mh9dc6lci07i1cx";
};
propagatedBuildInputs = [

View File

@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
version = "8.0.0";
version = "10.0.0";
pname = "azure-mgmt-network";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1prg4b1agda9bsn6zmvffkj22rr6jy784rdfp6154yifjr6z5jiv";
sha256 = "3978da4641b3396d4a00c7ddd53d87ece7e7d45b5bc41a157639bdd2f2c5b9b3";
};
postInstall = if isPy3k then "" else ''

View File

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

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-rdbms";
version = "1.9.0";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0v91hl936wp9sl3bc31svf6kdxwa57qh6ih9rrv43dnb2000km6r";
sha256 = "7826601507878e77f5d5cd805c6ad1d6483c375b545d5e9e1694b5a6c5e12fe3";
};
propagatedBuildInputs = [

View File

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

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-reservations";
version = "0.6.0";
version = "0.7.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "16ycni3cjl9c0mv419gy5rgbrlg8zp0vnr6aj8z8p2ypdw6sgac3";
sha256 = "f65c1985a47e0ac55e7d5d9cc1bd5e95335a111566edc289d460aa2bc8f80991";
};
propagatedBuildInputs = [

View File

@@ -8,13 +8,13 @@
buildPythonPackage rec {
version = "7.0.0";
version = "8.0.1";
pname = "azure-mgmt-resource";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "eaea8b5d05495d1b74220052275d46b6bed93b59245bcaa747279a52e41c3bdf";
sha256 = "0gngm7w17r5922ji11pnpa6gp5vh5z6la025v9cda6smsnx0fxx7";
};
postInstall = if isPy3k then "" else ''

View File

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

View File

@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
version = "7.0.0";
version = "8.0.0";
pname = "azure-mgmt-storage";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7f5e6b18dee267c99f08f6a716a93173bbae433c8665f5c59153fb1a963bc105";
sha256 = "636778912823cebed1c212e4feacc4885d9e49e19a047da20fca9393bc6fac33";
};
postInstall = if isPy3k then "" else ''

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-web";
version = "0.44.0";
version = "0.45.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "05dqakhfi301k2jnvccxdkigqvwnf9xz858pqg9vsri3dq69f1rw";
sha256 = "04wdb7vksjhcvv0gkjjr37lmb5ads5pr00cjac8r3szimr64zspr";
};
propagatedBuildInputs = [

View File

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

View File

@@ -8,13 +8,14 @@
buildPythonPackage rec {
pname = "babelgladeextractor";
version = "0.6.3";
version = "0.7.0";
disabled = (!isPy3k); # uses python3 specific file io in setup.py
src = fetchPypi {
pname = "BabelGladeExtractor";
inherit version;
extension = "tar.bz2";
sha256 = "12i2i97wai5vv5h522rj6pfcdsfyrkgmjqc699m5v4af0yy3rqsq";
sha256 = "160p4wi2ss69g141c2z59azvrhn7ymy5m9h9d65qrcabigi0by5w";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,31 @@
{ stdenv, buildPythonPackage, fetchPypi, fetchFromGitHub
, wheel, pytestCheckHook, pytestrunner }:
buildPythonPackage rec {
version = "0.18.0";
pname = "bacpypes";
src = fetchFromGitHub {
owner = "JoelBender";
repo = "bacpypes";
rev = "${version}";
sha256 = "1nz0qi46z6n455mw2ppxgz091qh0irizlxpvkx7iw1l7f6mmgj0x";
};
propagatedBuildInputs = [ wheel ];
# Using pytes instead of setuptools check hook allows disabling specific tests
checkInputs = [ pytestCheckHook pytestrunner ];
dontUseSetuptoolsCheck = true;
disabledTests = [
# Test fails with a an error: AssertionError: assert 30 == 31
"test_recurring_task_5"
];
meta = with stdenv.lib; {
homepage = "https://github.com/JoelBender/bacpypes";
description = "BACpypes provides a BACnet application layer and network layer written in Python for daemons, scripting, and graphical interfaces.";
license = licenses.mit;
maintainers = with maintainers; [ bachp ];
};
}

View File

@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, pytest
, unittest2
, future
, numpy
, scipy
, scikitlearn
, scikitimage
, threadpoolctl
}:
buildPythonPackage rec {
pname = "batchgenerators";
version = "0.19.7";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0qqzwqf5r0q6jh8avz4f9kf8x96crvdnkznhf24pbm0faf8yk67q";
};
propagatedBuildInputs = [ future numpy scipy scikitlearn scikitimage threadpoolctl ];
checkInputs = [ pytest unittest2 ];
checkPhase = "pytest tests";
meta = {
description = "2D and 3D image data augmentation for deep learning";
homepage = "https://github.com/MIC-DKFZ/batchgenerators";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}

View File

@@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, python
, scikitlearn
, scipy
, pytest
}:
buildPythonPackage rec {
pname = "bayesian-optimization";
version = "1.1.0";
src = fetchFromGitHub {
owner = "fmfn";
repo = "BayesianOptimization";
rev = "v${version}";
sha256 = "0ylip9xdi0cjzmdayxxpazdfaa9dl0sdcl2qsfn3p0cipj59bdvd";
};
propagatedBuildInputs = [
scikitlearn
scipy
];
checkInputs = [ pytest ];
checkPhase = ''
pytest tests
'';
meta = with lib; {
description = "A Python implementation of global optimization with gaussian processes";
homepage = "https://github.com/fmfn/BayesianOptimization";
license = licenses.mit;
maintainers = [ maintainers.juliendehos ];
};
}

View File

@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, pytest, glibcLocales
, pytest, nose, glibcLocales
, numpy, scipy, matplotlib, h5py }:
buildPythonPackage rec {
@@ -15,7 +15,7 @@ buildPythonPackage rec {
sha256 = "24e1327ce241a0113abf217fbaf41ac25e04f5a01f9ed606610f2f1f2d82d34f";
};
checkInputs = [ pytest glibcLocales ];
checkInputs = [ pytest nose glibcLocales ];
propagatedBuildInputs = [ numpy scipy matplotlib h5py ];
checkPhase = ''

View File

@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
version = "0.3.0";
pname = "BespON";
src = fetchPypi {
inherit pname version;
sha256 = "0698vx1kh8c84f5qfhl4grdlyn1lljvdih8yczdz0pql8wkn8i7v";
};
propagatedBuildInputs = [ ];
# upstream doesn't contain tests
doCheck = false;
pythonImportsCheck = [ "bespon" ];
meta = with stdenv.lib; {
description = "Encodes and decodes data in the BespON format.";
homepage = "https://github.com/gpoore/bespon_py";
license = licenses.lgpl3;
maintainers = with maintainers; [ synthetica ];
};
}

View File

@@ -1,16 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, pytest_4, case, psutil }:
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, pytest, case, psutil }:
buildPythonPackage rec {
pname = "billiard";
version = "3.6.1.0";
version = "3.6.3.0";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "b8809c74f648dfe69b973c8e660bcec00603758c9db8ba89d7719f88d5f01f26";
sha256 = "0spssl3byzqsplra166d59jx8iqfxyzvcbx7vybkmwr5ck72a5yr";
};
checkInputs = [ pytest_4 case psutil ];
checkInputs = [ pytest case psutil ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
homepage = https://github.com/celery/billiard;

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "braintree";
version = "3.58.0";
version = "4.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "0n8k9m3kifj34rzi2a3jgjsik91w8z32xaaxcmvqs7x8m5m3kjj4";
sha256 = "1m8z0ig40xmgcnmf508nflyy1w4qmff4kqxarrpg7rvsfj4pjsmh";
};
propagatedBuildInputs = [ requests ];
@@ -20,7 +20,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python library for integration with Braintree";
homepage = https://github.com/braintree/braintree_python;
homepage = "https://github.com/braintree/braintree_python";
license = licenses.mit;
maintainers = [ maintainers.ivegotasthma ];
};

View File

@@ -0,0 +1,52 @@
{ lib, buildPythonPackage, fetchFromGitHub, python-dateutil, jsonref, jsonschema,
pyyaml, simplejson, six, pytz, msgpack, swagger-spec-validator, rfc3987,
strict-rfc3339, webcolors, mypy-extensions, jsonpointer, idna, pytest, mock,
pytest-benchmark, isPy27, enum34 }:
buildPythonPackage rec {
pname = "bravado-core";
version = "5.16.1";
src = fetchFromGitHub {
owner = "Yelp";
repo = pname;
rev = "v${version}";
sha256 = "0r9gk5vkjbc407fjydms3ik3hnzajq54znyz58d8rm6pvqcvjjpl";
};
checkInputs = [
mypy-extensions
pytest
mock
pytest-benchmark
];
checkPhase = ''pytest --benchmark-skip'';
propagatedBuildInputs = [
python-dateutil
jsonref
jsonschema
pyyaml
simplejson
six
pytz
msgpack
swagger-spec-validator
# the following 3 packages are included when jsonschema (3.2) is installed
# as jsonschema[format], which reflects what happens in setup.py
rfc3987
strict-rfc3339
webcolors
jsonpointer
idna
] ++ lib.optionals isPy27 [ enum34 ];
meta = with lib; {
description = "Library for adding Swagger support to clients and servers";
homepage = "https://github.com/Yelp/bravado-core";
license = licenses.bsd3;
maintainers = with maintainers; [ vanschelven ];
};
}

View File

@@ -0,0 +1,28 @@
{ lib, fetchFromGitHub, buildPythonPackage, isPy27, requests }:
buildPythonPackage rec {
pname = "bravia-tv";
version = "1.0.1";
disabled = isPy27;
src = fetchFromGitHub {
owner = "dcnielsen90";
repo = "python-bravia-tv";
rev = "v${version}";
sha256 = "0jlrin5qw3ny2r961y5divd5xa9giprxhhxdc84rjlq9qdmnsk68";
};
propagatedBuildInputs = [ requests ];
# package does not include tests
doCheck = false;
pythonImportsCheck = [ "bravia_tv" ];
meta = with lib; {
homepage = "https://github.com/dcnielsen90/python-bravia-tv";
description = "Python library for Sony Bravia TV remote control";
license = licenses.mit;
maintainers = with maintainers; [ colemickens ];
};
}

View File

@@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, configobj
, six
, fastimport
, dulwich
, launchpadlib
, testtools
}:
buildPythonPackage rec {
pname = "breezy";
version = "3.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "50f16bc7faf299f98fe58573da55b0664078f94b1a0e7f0ce9e1e6a0d47e68e0";
};
propagatedBuildInputs = [ configobj six fastimport dulwich launchpadlib ];
checkInputs = [ testtools ];
# There is a conflict with their `lazy_import` and plugin tests
doCheck = false;
# symlink for bazaar compatibility
postInstall = ''
ln -s "$out/bin/brz" "$out/bin/bzr"
'';
pythonImportsCheck = [ "breezy" ];
meta = with lib; {
description = "Friendly distributed version control system";
homepage = "https://www.breezy-vcs.org/";
license = licenses.gpl2;
maintainers = [ maintainers.marsam ];
};
}

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "bsddb3";
version = "6.2.6";
version = "6.2.7";
src = fetchPypi {
inherit pname version;
sha256 = "42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05";
sha256 = "17yw0by4lycwpvnx06cnzbbchz4zvzbx3j89b20xa314xdizmxxh";
};
buildInputs = [ pkgs.db ];

View File

@@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, six
, webob
}:
buildPythonPackage rec {
pname = "bugsnag";
version = "3.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "17cjh7g8gbr0gb22nzybkw7vq9x5wfa5ln94hhzijbz934bw1f37";
};
propagatedBuildInputs = [ six webob ];
# no tests
doCheck = false;
meta = with stdenv.lib; {
description = "Automatic error monitoring for django, flask, etc.";
homepage = "https://www.bugsnag.com";
license = licenses.mit;
platforms = platforms.unix;
};
}

View File

@@ -3,7 +3,7 @@
sqlalchemy_migrate, dateutil, txaio, autobahn, pyjwt, pyyaml, treq,
txrequests, pyjade, boto3, moto, mock, python-lz4, setuptoolsTrial,
isort, pylint, flake8, buildbot-worker, buildbot-pkg, buildbot-plugins,
parameterized, git, openssh, glibcLocales }:
parameterized, git, openssh, glibcLocales, nixosTests }:
let
withPlugins = plugins: buildPythonPackage {
@@ -25,11 +25,11 @@ let
package = buildPythonPackage rec {
pname = "buildbot";
version = "2.6.0";
version = "2.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "1l3ajhy68jddbgbizaa5hq65lgqkll6389hss4p2j36cbxbn7hiv";
sha256 = "0jj8fh611n7xc3vsfbgpqsllp38cfj3spkr2kz3ara2x7jvh3406";
};
propagatedBuildInputs = [
@@ -91,6 +91,7 @@ let
passthru = {
inherit withPlugins;
tests.buildbot = nixosTests.buildbot;
};
meta = with lib; {

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "buildbot-pkg";
version = "2.6.0";
version = "2.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "07ynk46c9h47ibbdm93h15xbrzflsl4llm0jr4c8pm6krs6byb4z";
sha256 = "03zb09r8w8dvd9qas7h6gdwlqc7q482ikph6h3708lpnkn72xdkb";
};
postPatch = ''

View File

@@ -7,14 +7,12 @@
src = fetchPypi {
inherit pname version;
sha256 = "0njix8g6g1dgfviick55p9calm82nnkhhgkikh7a5yvqk524cprg";
sha256 = "1d8xdk4rq4p3fw03cvz7d1pmpjjbyrnzzjifzv46q88vk7jakgxi";
};
# Remove unneccessary circular dependency on buildbot
postPatch = ''
sed -i setup.py \
-e "/import buildbot/d" \
-e "s/'buildbot',//"
sed -i "s/'buildbot'//" setup.py
'';
buildInputs = [ buildbot-pkg mock ];
@@ -36,7 +34,7 @@
src = fetchPypi {
inherit pname version;
sha256 = "1wmay9bbb1wwf0zh9rw95swmdc7bxabgvx2n6dyyzs4p8k92px10";
sha256 = "03pl75avi6cmmhjvfn0a0b4drn35yv37kvgn04zjdwa3m6p3haa8";
};
buildInputs = [ buildbot-pkg ];
@@ -58,7 +56,7 @@
src = fetchPypi {
inherit pname version;
sha256 = "14b28vpkk68yk6zmdd64n7izb1r3barb7y711n4g37skqd13jygb";
sha256 = "0rzjk3qmlvid8qag3r00zaszchncl1nl8l2yapvc1zqh2dqlln58";
};
buildInputs = [ buildbot-pkg ];
@@ -80,7 +78,7 @@
src = fetchPypi {
inherit pname version;
sha256 = "1m8kbycjq7jsl72xbrzjj48hb65r53lfxx78yvlnhc2f9ian5vnh";
sha256 = "1n4j73y9kwfqk7dz1fh1bpan68vlpnbz7idxpmsphyay8w8y9dd4";
};
buildInputs = [ buildbot-pkg ];
@@ -102,7 +100,7 @@
src = fetchPypi {
inherit pname version;
sha256 = "1sbp13qimv8kc7dp0xz1pmda1x1n4948zgrz2pc45rwlbbn5h69r";
sha256 = "1babkcgxczs6zfk2b6jmsy2vwbrgdydrp2px1mfwa3wmv8fwlssg";
};
buildInputs = [ buildbot-pkg ];

View File

@@ -3,11 +3,11 @@
buildPythonPackage (rec {
pname = "buildbot-worker";
version = "2.6.0";
version = "2.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "0hr42fp3sw6c59qahihm9440618z7prwsy4z0ax553zvw47pc22l";
sha256 = "1vwy46acvczgk1hhpsqdwpcw55j4hm5pkw6j01f92axiga8r5jk6";
};
propagatedBuildInputs = [ twisted future ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "zc.buildout";
version = "2.13.2";
version = "2.13.3";
src = fetchPypi {
inherit pname version;
sha256 = "5dd4de86dda684c46ef8ee9cc84e335ca7f6275d4363a684de82225270d1e328";
sha256 = "1dyc5g3yv7wm3hf3fcsh6y1wivzjj1bspafr5qqb653z9a31lsfn";
};
patches = [ ./nix.patch ];
@@ -14,7 +14,7 @@ buildPythonPackage rec {
postInstall = "mv $out/bin/buildout{,-nix}";
meta = {
homepage = http://www.buildout.org;
homepage = "http://www.buildout.org";
description = "A software build and configuration system";
license = stdenv.lib.licenses.zpl21;
maintainers = [ stdenv.lib.maintainers.goibhniu ];

View File

@@ -2,15 +2,15 @@
buildPythonPackage rec {
pname = "zc.buildout";
version = "2.13.2";
version = "2.13.3";
src = fetchPypi {
inherit pname version;
sha256 = "0a73s5q548l2vs2acqs3blkzd9sw6d7ci77fz1pc9156vn3dxm2x";
sha256 = "1dyc5g3yv7wm3hf3fcsh6y1wivzjj1bspafr5qqb653z9a31lsfn";
};
meta = with stdenv.lib; {
homepage = http://www.buildout.org;
homepage = "http://www.buildout.org";
description = "A software build and configuration system";
license = licenses.zpl21;
maintainers = with maintainers; [ ];

View File

@@ -24,12 +24,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ wrapt pyserial aenum ] ++ lib.optional (pythonOlder "3.5") typing;
checkInputs = [ nose mock pytest pytest-timeout hypothesis future ];
# Tests won't work with hypothesis 4.7.3 under Python 2. So skip the tests in
# that case. This clause can be removed once hypothesis has been upgraded in
# nixpkgs.
doCheck = !(isPy27 && (hypothesis.version == "4.7.3"));
checkInputs = [ nose mock pytest hypothesis future ];
# Add the scripts to PATH
checkPhase = ''

View File

@@ -3,43 +3,33 @@
, fetchPypi
, fetchpatch
, setuptools
, capstone
}:
buildPythonPackage rec {
pname = "capstone";
version = "3.0.5.post1";
version = stdenv.lib.getVersion capstone;
setupPyBuildFlags = [
"--plat-name x86_64-linux"
];
src = capstone.src;
sourceRoot = "${capstone.name}/bindings/python";
src = fetchPypi {
inherit pname version;
sha256 = "3c0f73db9f8392f7048c8a244809f154d7c39f354e2167f6c477630aa517ed04";
};
postPatch = ''
ln -s ${capstone}/lib/libcapstone${stdenv.targetPlatform.extensions.sharedLibrary} prebuilt/
ln -s ${capstone}/lib/libcapstone.a prebuilt/
'';
propagatedBuildInputs = [ setuptools ];
patches = [
(fetchpatch {
stripLen = 2;
url = "https://patch-diff.githubusercontent.com/raw/aquynh/capstone/pull/783/commits/23fe9f36622573c747e2bab6119ff245437bf276.patch";
sha256 = "0yizqrdlxqxn16873593kdx2vrr7gvvilhgcf9xy6hr0603d3m5r";
})
];
postPatch = ''
patchShebangs src/make.sh
'';
preCheck = ''
mv src/libcapstone.so capstone
checkPhase = ''
mv capstone capstone.hidden
patchShebangs test_*
make check
'';
meta = with stdenv.lib; {
homepage = "http://www.capstone-engine.org/";
license = licenses.bsdOriginal;
description = "Capstone disassembly engine";
maintainers = with maintainers; [ bennofs ];
description = "Python bindings for Capstone disassembly engine";
maintainers = with maintainers; [ bennofs ris ];
};
}

View File

@@ -6,17 +6,19 @@ buildPythonPackage rec {
pname = "carbon";
version = "1.1.6";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "9ecda1469e497e3fed346b23ac94fd576e1bd9962677ab88975f4f598186e851";
};
# Carbon-s default installation is /opt/graphite. This env variable ensures
# carbon is installed as a regular python module.
GRAPHITE_NO_PREFIX="True";
propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
meta = with stdenv.lib; {
homepage = http://graphite.wikidot.com/;
homepage = "http://graphiteapp.org/";
description = "Backend data caching and persistence daemon for Graphite";
maintainers = with maintainers; [ offline basvandijk ];
license = licenses.asl20;

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "cchardet";
version = "2.1.5";
version = "2.1.6";
src = fetchPypi {
inherit pname version;
sha256 = "240efe3f255f916769458343840b9c6403cf3192720bc5129792cbcb88bf72fb";
sha256 = "1cs6y59qhbal8fgbyjk2lpjykh8kfjhq16clfssylsddb4hgnsmp";
};
checkInputs = [ nose ];
@@ -21,7 +21,7 @@ buildPythonPackage rec {
meta = {
description = "High-speed universal character encoding detector";
homepage = https://github.com/PyYoshi/cChardet;
homepage = "https://github.com/PyYoshi/cChardet";
license = lib.licenses.mpl11;
maintainers = with lib.maintainers; [ ivan ];
};

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "celery";
version = "4.4.0";
version = "4.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "d3363bb5df72d74420986a435449f3c3979285941dff57d5d97ecba352a0e3e2";
sha256 = "0ps1c6ill7q0m5kzb87hisgshdk3kzpa6cvcjch1d1wa07whp2hh";
};
postPatch = ''
@@ -21,7 +21,7 @@ buildPythonPackage rec {
# test_eventlet touches network
# test_mongodb requires pymongo
checkPhase = ''
pytest -k 'not restore_current_app_fallback and not msgpack' \
pytest -k 'not restore_current_app_fallback and not msgpack and not on_apply' \
--ignore=t/unit/concurrency/test_eventlet.py \
--ignore=t/unit/backends/test_mongodb.py
'';

View File

@@ -2,11 +2,11 @@
if isPyPy then null else buildPythonPackage rec {
pname = "cffi";
version = "1.13.2";
version = "1.14.0";
src = fetchPypi {
inherit pname version;
sha256 = "599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346";
sha256 = "1dn279gw5ql8i5n3s5v4rnv96rhhjjfn7xq729qbl5bs2954yf1d";
};
outputs = [ "out" "dev" ];

View File

@@ -1,25 +1,55 @@
{ lib, buildPythonPackage, fetchPypi, six, pyyaml, click, pytestrunner }:
{ buildPythonPackage
, fetchFromGitHub
, lib
# pythonPackages
, click
, pytest
, pytestcov
, pytestrunner
, pyyaml
, six
}:
buildPythonPackage rec {
pname = "cfn-flip";
version = "1.1.0.post1";
version = "1.2.2";
src = fetchPypi {
pname = "cfn_flip";
inherit version;
sha256 = "16r01ijjwnq06ax5xrv6mq9l00f6sgzw776kr43zjai09xsbwwck";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-cfn-template-flip";
rev = version;
sha256 = "05fk725a1i3zl3idik2hxl3w6k1ln0j33j3jdq1gvy1sfyc79ifm";
};
propagatedBuildInputs = [ six pyyaml click ];
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [
click
pyyaml
six
];
# No tests in Pypi
doCheck = false;
checkInputs = [
pytest
pytestcov
pytestrunner
];
checkPhase = ''
py.test \
--cov=cfn_clean \
--cov=cfn_flip \
--cov=cfn_tools \
--cov-report term-missing \
--cov-report html
'';
meta = with lib; {
description = "Tool for converting AWS CloudFormation templates between JSON and YAML formats";
homepage = https://github.com/awslabs/aws-cfn-template-flip;
homepage = "https://github.com/awslabs/aws-cfn-template-flip";
license = licenses.asl20;
maintainers = with maintainers; [ psyanticy ];
maintainers = with maintainers; [
kamadorueda
psyanticy
];
};
}

View File

@@ -44,8 +44,9 @@ buildPythonPackage rec {
doCheck = false;
postPatch = ''
sed -i setup.py -e "/pip>=/c\'pip',"
substituteInPlace setup.py \
--replace 'pip>=9,<=18.1' 'pip' \
--replace 'pip>=9,<=19.4' 'pip' \
--replace 'typing==3.6.4' 'typing' \
--replace 'attrs==17.4.0' 'attrs' \
--replace 'click>=6.6,<7.0' 'click'

View File

@@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytz
, unittest2
, isPy27
}:
buildPythonPackage rec {
pname = "ciso8601";
version = "2.1.3";
src = fetchFromGitHub {
owner = "closeio";
repo = "ciso8601";
rev = "v${version}";
sha256 = "0g1aiyc1ayh0rnibyy416m5mmck38ksgdm3jsy0z3rxgmgb24951";
};
checkInputs = [
pytz
] ++ lib.optional (isPy27) unittest2;
meta = with lib; {
description = "Fast ISO8601 date time parser for Python written in C";
homepage = "https://github.com/closeio/ciso8601";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}

View File

@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "ckcc-protocol";
version = "0.8.0";
version = "1.0.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1mbs9l8qycy50j5lq6az7l5d8i40nb0vmlyhcyax298qp6c1r1gh";
sha256 = "13ihbhjgxyn1xvrbppjvnqm199q5fdwrljs0wm16iwyl56kf3wh3";
};
checkInputs = [
@@ -28,7 +28,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Communicate with your Coldcard using Python";
homepage = https://github.com/Coldcard/ckcc-protocol;
homepage = "https://github.com/Coldcard/ckcc-protocol";
license = licenses.gpl3;
maintainers = [ maintainers.hkjn ];
};

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "clikit";
version = "0.4.1";
version = "0.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "8ae4766b974d7b1983e39d501da9a0aadf118a907a0c9b50714d027c8b59ea81";
sha256 = "0glppxx0pyppjcigzs8h16srlbxb6nci0282xfy3ayvwbq8pwbbf";
};
propagatedBuildInputs = [

View File

@@ -6,11 +6,11 @@
}:
buildPythonPackage rec {
pname = "cmd2";
version = "0.9.25";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "0w5jh2lanqxsva9fr9p07mmbd5w4v6zmhf6lr0awksvhjx77lhdc";
sha256 = "sha256-GtSqmkWCHX/1t31sny3f2ek8uTS1oEMSM1rRXG9DuFI=";
};
LC_ALL="en_US.UTF-8";
@@ -18,8 +18,8 @@ buildPythonPackage rec {
postPatch = stdenv.lib.optional stdenv.isDarwin ''
# Fake the impure dependencies pbpaste and pbcopy
mkdir bin
echo '#${stdenv.shell}' > bin/pbpaste
echo '#${stdenv.shell}' > bin/pbcopy
echo '#!${stdenv.shell}' > bin/pbpaste
echo '#!${stdenv.shell}' > bin/pbcopy
chmod +x bin/{pbcopy,pbpaste}
export PATH=$(realpath bin):$PATH
'';

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "cocotb";
version = "1.2.0";
version = "1.3.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "091q63jcm87xggqgqi44lw2vjxhl1v4yl0mv2c76hgavb29w4w5y";
sha256 = "0gwd79zm7196fhnbzbdpyvgzsfjfzl3pmc5hh27h7hckfpxzj9yw";
};
propagatedBuildInputs = [
@@ -24,10 +24,10 @@ buildPythonPackage rec {
cocotb/share/makefiles/simulators/Makefile.*
do
substituteInPlace $f --replace 'shell which' 'shell command -v'
# replace hardcoded gcc. Remove once https://github.com/cocotb/cocotb/pull/1137 gets merged
substituteInPlace $f --replace 'gcc' '$(CC)'
substituteInPlace $f --replace 'g++' '$(CXX)'
done
# This can probably be removed in the next update after 1.3.0
substituteInPlace cocotb/share/makefiles/Makefile.inc --replace "-Werror" ""
'';
checkInputs = [ swig verilog ];
@@ -39,7 +39,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python";
homepage = https://github.com/cocotb/cocotb;
homepage = "https://github.com/cocotb/cocotb";
license = licenses.bsd3;
maintainers = with maintainers; [ matthuszagh ];
};

View File

@@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pymeeus, pytz }:
buildPythonPackage rec {
pname = "convertdate";
version = "2.2.0";
# Tests are not available in the PyPI tarball so use GitHub instead.
src = fetchFromGitHub {
owner = "fitnr";
repo = pname;
rev = "v${version}";
sha256 = "04j8k7a9qndmawy3m345py74y18hw7lb6gc0qp0mr8d68x99xjq0";
};
propagatedBuildInputs = [ pymeeus pytz ];
meta = with stdenv.lib; {
homepage = "https://github.com/fitnr/convertdate";
description = "Utils for converting between date formats and calculating holidays";
license = licenses.mit;
maintainers = with maintainers; [ jluttine ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "credstash";
version = "1.16.1";
version = "1.16.2";
src = fetchPypi {
inherit pname version;
sha256 = "019wviz3hx0pkh3mgqr3prg55njyhzvhjqcpndgrfmkykjkcj435";
sha256 = "1l3g76dm9csmx0z8s7zd75wfzw9dcyvrq0a81gfzwxk0c0w8c79r";
};
# The install phase puts an executable and a copy of the library it imports in

View File

@@ -23,6 +23,11 @@ buildPythonPackage rec {
sha256 = "0n80y9a6qhbhhbz64jdpscx0nha9jn9nygp9nkgszmw04ri5j5hm";
};
postPatch = ''
substituteInPlace setup.py \
--replace pandas~=0.25.0 pandas
'';
propagatedBuildInputs = [
click
dateparser

View File

@@ -3,6 +3,7 @@
, colorlover
, ipython
, ipywidgets
, pytest
, nose
, numpy
, pandas
@@ -12,11 +13,11 @@
buildPythonPackage rec {
pname = "cufflinks";
version = "0.16";
version = "0.17.3";
src = fetchPypi {
inherit pname version;
sha256 = "163lag5g4micpqm3m4qy9b5r06a7pw45nq80x4skxc7dcrly2ygd";
sha256 = "0i56062k54dlg5iz3qyl1ykww62mpkp8jr4n450h0c60dm0b7ha8";
};
propagatedBuildInputs = [
@@ -30,24 +31,12 @@ buildPythonPackage rec {
statsmodels
];
patches = [
# Plotly 4 compatibility. Remove with next release, assuming it gets merged.
(fetchpatch {
url = "https://github.com/santosjorge/cufflinks/pull/202/commits/e291dce14181858cb457404adfdaf2624b6d0594.patch";
sha256 = "1l0dahwqn3cxg49v3i3amwi80dmx2bi5zrazmgzpwsfargmk2kd1";
})
];
# in plotly4+, the plotly.plotly module was moved to chart-studio.plotly
postPatch = ''
substituteInPlace requirements.txt \
--replace "plotly>=3.0.0,<4.0.0a0" "chart-studio"
'';
checkInputs = [ nose ];
checkInputs = [ pytest nose ];
# ignore tests which are incompatible with pandas>=1.0
# https://github.com/santosjorge/cufflinks/issues/236
checkPhase = ''
nosetests -xv tests.py
pytest tests.py -k 'not bar_row'
'';
meta = with lib; {

View File

@@ -31,8 +31,8 @@ buildPythonPackage rec {
export CVXOPT_BLAS_LIB_DIR=${openblasCompat}/lib
export CVXOPT_BLAS_LIB=openblas
export CVXOPT_LAPACK_LIB=openblas
export CVXOPT_SUITESPARSE_LIB_DIR=${suitesparse}/lib
export CVXOPT_SUITESPARSE_INC_DIR=${suitesparse}/include
export CVXOPT_SUITESPARSE_LIB_DIR=${lib.getLib suitesparse}/lib
export CVXOPT_SUITESPARSE_INC_DIR=${lib.getDev suitesparse}/include
'' + lib.optionalString withGsl ''
export CVXOPT_BUILD_GSL=1
export CVXOPT_GSL_LIB_DIR=${gsl}/lib

View File

@@ -0,0 +1,49 @@
{ lib
, pythonOlder
, buildPythonPackage
, fetchPypi
, cvxopt
, ecos
, multiprocess
, numpy
, osqp
, scipy
, scs
, six
# Check inputs
, nose
}:
buildPythonPackage rec {
pname = "cvxpy";
version = "1.0.25";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "04zalvc8lckjfzm3i2ir32ib5pd6v7hxqqcnsnq6fw40vffm4dc5";
};
propagatedBuildInputs = [
cvxopt
ecos
multiprocess
osqp
scs
six
];
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = {
description = "A domain-specific language for modeling convex optimization problems in Python.";
homepage = "https://www.cvxpy.org/";
downloadPage = "https://github.com/cvxgrp/cvxpy/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ drewrisinger ];
};
}

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "dash_core_components";
version = "1.7.0";
version = "1.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "16jjanq4glj6c2cwyw94954hrqqv49fknisbxj03lfmflg61j32k";
sha256 = "0qqf51mphv1pqqc2ff50rkbw44sp9liifg0mg7xkh41sgnv032cs";
};
# No tests in archive
@@ -17,7 +17,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A dash component starter pack";
homepage = https://dash.plot.ly/dash-core-components;
homepage = "https://dash.plot.ly/dash-core-components";
license = licenses.mit;
maintainers = [ maintainers.antoinerg ];
};

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "dash_renderer";
version = "1.2.3";
version = "1.2.4";
src = fetchPypi {
inherit pname version;
sha256 = "1ccsykv24dz9xj24106aaj7f0w7x7sv7mamjbx0m6k0wyhh58vw1";
sha256 = "1w6mpmvfj6nv5rdzikwc7wwhrgscbh50d0azzydhsa9jccxvkakl";
};
# No tests in archive
@@ -17,7 +17,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Renderer for the Dash framework";
homepage = https://dash.plot.ly/;
homepage = "https://dash.plot.ly/";
license = licenses.mit;
maintainers = [ maintainers.antoinerg ];
};

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "dash_table";
version = "4.6.0";
version = "4.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "01wzac09ac6nr27if1liaxafzdf67x00vw1iq5vaad1147rdh36k";
sha256 = "0xwwkp7zsmrcnl3fswm5f319cxk7hk4dzacvfsarll2b47rmm434";
};
# No tests in archive
@@ -17,7 +17,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A First-Class Interactive DataTable for Dash";
homepage = https://dash.plot.ly/datatable;
homepage = "https://dash.plot.ly/datatable";
license = licenses.mit;
maintainers = [ maintainers.antoinerg ];
};

View File

@@ -16,13 +16,13 @@
buildPythonPackage rec {
pname = "dash";
version = "1.8.0";
version = "1.9.1";
src = fetchFromGitHub {
owner = "plotly";
repo = pname;
rev = "v${version}";
sha256 = "11skbvjlj93aw1pqx6j56h73sy9r06jwq7z5h64fd1a3d4z2gsvy";
sha256 = "0lqvcq7xaw5l1mwmgfdhr9jspq8jzkxf77862k0ca4d9zglkqp4z";
};
propagatedBuildInputs = [
@@ -43,11 +43,8 @@ buildPythonPackage rec {
];
checkPhase = ''
pytest tests/unit/test_configs.py
pytest tests/unit/test_fingerprint.py
pytest tests/unit/test_import.py
pytest tests/unit/test_resources.py
pytest tests/unit/dash/
pytest tests/unit/test_{configs,fingerprint,import,resources}.py \
tests/unit/dash/
'';
pythonImportsCheck = [
@@ -56,7 +53,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python framework for building analytical web applications";
homepage = https://dash.plot.ly/;
homepage = "https://dash.plot.ly/";
license = licenses.mit;
maintainers = [ maintainers.antoinerg ];
};

View File

@@ -0,0 +1,41 @@
{ stdenv, buildPythonPackage, fetchPypi
, click
, requests
, tabulate
, six
, configparser
, pytest
}:
buildPythonPackage rec {
pname = "databricks-cli";
version = "0.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "1ebf123b5567c06b7583688077120ead075ca06938b9995d4acafa97863ed8ff";
};
checkInputs = [
pytest
];
checkPhase = "pytest tests";
# tests folder is missing in PyPI
doCheck = false;
propagatedBuildInputs = [
click
requests
tabulate
six
configparser
];
meta = with stdenv.lib; {
homepage = "https://github.com/databricks/databricks-cli";
description = "A command line interface for Databricks";
license = licenses.asl20;
maintainers = with maintainers; [ tbenst ];
};
}

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "datadog";
version = "0.33.0";
version = "0.34.1";
src = fetchPypi {
inherit pname version;
sha256 = "bce73f33a4496b004402baa502251150e3b48a48f610ff89d4cd110b366ee0ab";
sha256 = "1msi3wm0khmzh0ad7lwd5gigmqrxj25hd4w0qrsarihmd4ywrn1v";
};
postPatch = ''
@@ -25,6 +25,6 @@ buildPythonPackage rec {
meta = with lib; {
description = "The Datadog Python library";
license = licenses.bsd3;
homepage = https://github.com/DataDog/datadogpy;
homepage = "https://github.com/DataDog/datadogpy";
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, python, numpy, matplotlib }:
{ stdenv, buildPythonPackage, fetchPypi, python, numpy, matplotlib, nose }:
buildPythonPackage rec {
pname = "deap";
@@ -11,6 +11,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ numpy matplotlib ];
checkInputs = [ nose ];
checkPhase = ''
${python.interpreter} setup.py nosetests --verbosity=3
'';

View File

@@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, fetchpatch
, fetchPypi
}:
@@ -12,9 +13,12 @@ buildPythonPackage rec {
sha256 = "54c38050039232e1db4ad7375cfce6748d7b41c29e95a081c8a6d2c30364a2ce";
};
postPatch = ''
substituteInPlace src/tests/test.py --replace "DocumentationTestCase" "NoDocumentation"
'';
patches = [
(fetchpatch {
url = https://github.com/micheles/decorator/commit/3265f2755d16c0a3dfc9f1feee39722ddc11ee80.patch;
sha256 = "1q5nmff30vccqq5swf2ivm8cn7x3lhz8c9qpj0zddgs2y7fw8syz";
})
];
meta = with lib; {
homepage = https://pypi.python.org/pypi/decorator;

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