Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk
2019-12-10 19:00:06 +01:00
603 changed files with 20189 additions and 5350 deletions

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Rtree";
version = "0.8.3";
version = "0.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "0jc62jbcqqpjcwcly7l9zk25bg72mrxmjykpvfiscgln00qczfbc";
sha256 = "140j1vsbcj6sivq1b6pgkwm0czivx2x3d66mqq0d9ymg46njrzn9";
};
propagatedBuildInputs = [ libspatialindex ];

View File

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

View File

@@ -28,7 +28,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "aioeventlet implements the asyncio API (PEP 3156) on top of eventlet. It makes";
homepage = https://aioeventlet.readthedocs.org/;
homepage = "https://pypi.org/project/aioeventlet/";
license = licenses.asl20;
};

View File

@@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "aioredis";
version = "1.3.0";
version = "1.3.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "86da2748fb0652625a8346f413167f078ec72bdc76e217db7e605a059cd56e86";
sha256 = "0fi7jd5hlx8cnv1m97kv9hc4ih4l8v15wzkqwsp73is4n0qazy0m";
};
propagatedBuildInputs = [

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "apprise";
version = "0.8.1";
version = "0.8.2";
src = fetchPypi {
inherit pname version;
sha256 = "7a26fa03c4b83f03f17e8f8fc0b94d5502a12dc2e39b48e93a0ab0fd93151a95";
sha256 = "0m0pddqrpfm526f0fyzzjpcp7hi3d6pj0bgk2vl004lkas4li1hw";
};
nativeBuildInputs = [ Babel ];

View File

@@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "astropy-healpix";
version = "0.4";
version = "0.5";
doCheck = false; # tests require pytest-astropy
src = fetchPypi {
inherit pname version;
sha256 = "8c9709ac923759c92eca6d2e623e734d0f417eed40ba835b77d99dec09e51aa2";
sha256 = "1bfdq33mj6mwk5fkc6n23f9bc9z8j7kmvql3zchz4h58jskmvqas";
};
propagatedBuildInputs = [ numpy astropy astropy-helpers ];

View File

@@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, cmake
, numba
, numpy
, pytest
, rapidjson
}:
buildPythonPackage rec {
pname = "awkward1";
version = "0.1.28";
src = fetchPypi {
inherit pname version;
sha256 = "2269aca04c827549435e24f9976d27e904d02b74a30caa9a2a463225a8ba1609";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ rapidjson ];
propagatedBuildInputs = [ numpy ];
dontUseCmakeConfigure = true;
checkInputs = [ pytest numba ];
checkPhase = ''
py.test
'';
meta = with lib; {
description = "Development of awkward 1.0, to replace scikit-hep/awkward-array in 2020";
homepage = "https://github.com/scikit-hep/awkward-1.0";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
};
}

View File

@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "0.6.0";
version = "0.7.0";
pname = "azure-mgmt-netapp";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "10ymvyj386z9bjdm2g1b5a4vfnn87ig2zm6xn2xddvbpy0jxnyfv";
sha256 = "0cf4pknb5y2yz4jqwg7xm626zkfx8i8hqcr3dkvq21lrx7fz96r3";
extension = "zip";
};

View File

@@ -15,7 +15,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/botocore/bcdoc;
homepage = "https://github.com/boto/bcdoc";
license = licenses.asl20;
description = "ReST document generation tools for botocore";
};

View File

@@ -30,7 +30,7 @@ buildPythonPackage {
++ stdenv.lib.optional visualizationSupport pyqtgraph;
meta = with stdenv.lib; {
homepage = "http://binwalk.org";
homepage = "https://github.com/ReFirmLabs/binwalk";
description = "A tool for searching a given binary image for embedded files";
maintainers = [ maintainers.koral ];
};

View File

@@ -37,7 +37,7 @@ buildPythonPackage rec {
'';
meta = with stdenv.lib; {
homepage = https://www.boltztrap.org/;
homepage = "http://www.boltztrap.org/";
description = "Band-structure interpolator and transport coefficient calculator";
license = licenses.gpl3;
maintainers = [ maintainers.costrouc ];

View File

@@ -17,7 +17,7 @@ buildPythonPackage {
doCheck = false;
meta = with stdenv.lib; {
homepage = http://www.liquidx.net/pybugz/;
homepage = "https://github.com/williamh/pybugz";
description = "Command line interface for Bugzilla";
license = licenses.gpl2;
maintainers = [ maintainers.costrouc ];

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchPypi, buildPythonPackage, pythonAtLeast
{ stdenv, fetchPypi, buildPythonPackage, pythonAtLeast, isPy3k
, more-itertools, six, setuptools_scm, setuptools-scm-git-archive
, pytest, pytestcov, portend, pytest-testmon, pytest-mock
, backports_unittest-mock, pyopenssl, requests, trustme, requests-unixsocket
@@ -10,6 +10,8 @@ buildPythonPackage rec {
pname = "cheroot";
version = "8.2.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "5b525b3e4a755adf78070ab54c1821fb860d4255a9317dba2b88eb2df2441cff";

View File

@@ -6,11 +6,11 @@
}:
buildPythonPackage rec {
pname = "cmd2";
version = "0.9.20";
version = "0.9.21";
src = fetchPypi {
inherit pname version;
sha256 = "0id8247m05xi26xbzg7jj1gcmy91p77wpbbj74v5543z2aplk8qv";
sha256 = "0pxxxhcxf4wzxvlh6jvw30pzgk1nsciq1qfxilpa8idv06jzx048";
};
LC_ALL="en_US.UTF-8";

View File

@@ -19,7 +19,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Simple, lightweight, and easily extensible STOMP message broker";
homepage = http://code.google.com/p/coilmq/;
homepage = "https://github.com/hozn/coilmq/";
license = licenses.asl20;
};
}

View File

@@ -0,0 +1,29 @@
{ buildPythonPackage, lib, fetchFromGitHub, pytest, dissononce, python-axolotl-curve25519
, transitions, protobuf, nose
}:
buildPythonPackage rec {
pname = "consonance";
version = "0.1.3";
src = fetchFromGitHub {
owner = "tgalal";
repo = "consonance";
rev = version;
sha256 = "1ifs0fq6i41rdna1kszv5sf87qbqx1mn98ffyx4xhw4i9r2grrjv";
};
checkInputs = [ nose ];
checkPhase = ''
# skipping online test as it requires network with uplink
nosetests tests/test_handshakes_offline.py
'';
propagatedBuildInputs = [ dissononce python-axolotl-curve25519 transitions protobuf ];
meta = with lib; {
homepage = "https://pypi.org/project/consonance/";
license = licenses.gpl3;
description = "WhatsApp's handshake implementation using Noise Protocol";
};
}

View File

@@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi
, nose }:
buildPythonPackage rec {
pname = "crccheck";
version = "0.6";
buildInputs = [ nose ];
src = fetchPypi {
inherit pname version;
sha256 = "0ckymm6s5kw08i1j35fy2cfha1hyq94pq1kc66brb552qgjs91jn";
extension = "zip";
};
meta = with stdenv.lib; {
description = "Python library for CRCs and checksums";
homepage = "https://bitbucket.org/martin_scharrer/crccheck";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ etu ];
platforms = platforms.linux;
};
}

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A Python package to parse and build CSS";
homepage = http://code.google.com/p/cssutils/;
homepage = "http://cthedot.de/cssutils/";
license = licenses.lgpl3Plus;
};
}

View File

@@ -12,7 +12,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
homepage = http://deron.meranda.us/python/demjson/;
homepage = "https://github.com/dmeranda/demjson";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ bjornfor ];
platforms = platforms.all;

View File

@@ -5,7 +5,7 @@ buildPythonPackage rec {
version = "20181111";
meta = {
homepage = https://code.google.com/p/google-diff-match-patch/;
homepage = "https://github.com/diff-match-patch-python/diff-match-patch";
description = "Diff, Match and Patch libraries for Plain Text";
license = lib.licenses.asl20;
};

View File

@@ -25,7 +25,7 @@ buildPythonPackage rec {
meta = {
description = "Serialize all of python (almost)";
homepage = http://www.cacr.caltech.edu/~mmckerns/dill.htm;
homepage = "https://github.com/uqfoundation/dill/";
license = lib.licenses.bsd3;
};
}
}

View File

@@ -19,7 +19,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Disk and file backed persistent cache";
homepage = https://www.grantjenks.com/docs/diskcache/;
homepage = "http://www.grantjenks.com/docs/diskcache/";
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};

View File

@@ -0,0 +1,26 @@
{ buildPythonPackage, fetchFromGitHub, lib, pytest, cryptography, transitions }:
buildPythonPackage rec {
pname = "dissononce";
version = "0.34.3";
src = fetchFromGitHub {
owner = "tgalal";
repo = "dissononce";
rev = version;
sha256 = "0hn64qfr0d5npmza6rjyxwwp12k2z2y1ma40zpl104ghac6g3mbs";
};
checkInputs = [ pytest ];
checkPhase = ''
HOME=$(mktemp -d) py.test tests/
'';
propagatedBuildInputs = [ cryptography transitions ];
meta = with lib; {
homepage = "https://pypi.org/project/dissononce/";
license = licenses.mit;
description = "A python implementation for Noise Protocol Framework";
};
}

View File

@@ -19,7 +19,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A database schema evolution tool for the Django web framework";
homepage = http://code.google.com/p/django-evolution/;
homepage = "https://github.com/beanbaginc/django-evolution";
license = licenses.bsd0;
broken = true;
};

View File

@@ -11,7 +11,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols";
homepage = https://code.google.com/p/dpkt/;
homepage = "https://github.com/kbandla/dpkt";
license = licenses.bsd3;
maintainers = with maintainers; [ bjornfor ];
platforms = platforms.all;

View File

@@ -14,7 +14,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Kick ass affine-invariant ensemble MCMC sampling";
homepage = http://dan.iel.fm/emcee;
homepage = "https://emcee.readthedocs.io/";
license = licenses.mit;
};
}

View File

@@ -16,8 +16,8 @@ buildPythonPackage rec {
doCheck = false;
meta = {
description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges";
homepage = https://code.google.com/p/mimeparse/;
description = "Useful extra bits for Python - things that should be in the standard library";
homepage = "https://github.com/testing-cabal/extras";
license = lib.licenses.mit;
};
}
}

View File

@@ -1,20 +1,15 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch, numba, numpy, pandas,
pytestrunner, thrift, pytest, python-snappy, lz4 }:
{ lib, buildPythonPackage, fetchFromGitHub, numba, numpy, pandas, pytestrunner,
thrift, pytest, python-snappy, lz4 }:
buildPythonPackage rec {
pname = "fastparquet";
version = "0.2.1";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "183wdmhnhnlsd7908n3d2g4qnb49fcipqfshghwpbdwdzjpa0day";
};
# Fixes for recent pandas version
# See https://github.com/dask/fastparquet/pull/396
patches = fetchpatch {
url = https://github.com/dask/fastparquet/commit/31fb3115598d1ab62a5c8bf7923a27c16f861529.patch;
sha256 = "0r1ig4rydmy4j85dgb52qbsx6knxdwn4dn9h032fg3p6xqq0zlpm";
src = fetchFromGitHub {
owner = "dask";
repo = pname;
rev = version;
sha256 = "142kmyddaq6mvmca23abwns1csn8f3lk9c8mbxwxrg4wa1dh0lb4";
};
postPatch = ''
@@ -27,9 +22,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [ numba numpy pandas thrift ];
checkInputs = [ pytest python-snappy lz4 ];
# test_data/ missing in PyPI tarball
doCheck = false;
meta = with lib; {
description = "A python implementation of the parquet format";
homepage = https://github.com/dask/fastparquet;

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with stdenv.lib; {
homepage = http://code.google.com/p/feedparser/;
homepage = "https://github.com/kurtmckee/feedparser";
description = "Universal feed parser";
license = licenses.bsd2;
maintainers = with maintainers; [ domenkozar ];

View File

@@ -47,7 +47,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "OGR's neat, nimble, no-nonsense API for Python";
homepage = http://toblerity.org/fiona/;
homepage = "https://fiona.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ knedlsepp ];
};

View File

@@ -17,6 +17,6 @@ buildPythonPackage rec {
description = "Integrates official client for Elasticsearch into Flask";
license = licenses.bsd3;
maintainers = [ maintainers.mic92 ];
homepage = https://github.com/cepture/foppch/flask-elastic;
homepage = "https://github.com/marceltschoppch/flask-elastic";
};
}

View File

@@ -15,7 +15,7 @@ buildPythonPackage rec {
};
meta = with stdenv.lib; {
homepage = "http://trac.saddi.com/flup";
homepage = "https://www.saddi.com/software/flup/";
description = "FastCGI Python module set";
license = licenses.bsd0;
};

View File

@@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "folium";
version = "0.10.0";
version = "0.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "18fzxijsgrb95r0a8anc9ba5ijyw3nlnv3rpavfbkqa5v878x84f";
sha256 = "0gcc267wxwxr57ry86pqpbiyfvl0g48hfvgy0f2mz9s58g87kgzd";
};
disabled = pythonOlder "3.5";

View File

@@ -23,7 +23,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Recursive descent parsing library based on functional combinators";
homepage = https://code.google.com/p/funcparserlib/;
homepage = "https://github.com/vlasovskikh/funcparserlib";
license = licenses.mit;
platforms = platforms.unix;
};

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "funcy";
version = "1.13";
version = "1.14";
src = fetchPypi {
inherit pname version;
sha256 = "1hxii7g4fn301vr8wg53jc1jkvbjlbaz1fbpgpn4362xcwzk73wi";
sha256 = "1i55c5kjvkb3y2jqfnlx3iirrd512mxjdhjpm1l2xya6nk1q9vkm";
};
# No tests

View File

@@ -25,7 +25,7 @@ buildPythonPackage {
'';
meta = with stdenv.lib; {
homepage = https://liftoffsoftware.com/;
homepage = "http://liftoffsoftware.com/";
description = "GateOne is a web-based terminal emulator and SSH client";
maintainers = with maintainers; [ tomberek ];
license = licenses.gpl3;

View File

@@ -2,19 +2,21 @@
, buildPythonPackage
, fetchPypi
, jinja2
, lxml
}:
buildPythonPackage rec {
pname = "gcovr";
version = "4.1";
version = "4.2";
src = fetchPypi {
inherit pname version;
sha256 = "ca94c337f2d9a70db177ec4330534fad7b2b772beda625c1ec071fbcf1361e22";
sha256 = "0gyady7x3v3l9fm1zan0idaggqqcm31y7g5vxk7h05p5h7f39bjs";
};
propagatedBuildInputs = [
jinja2
lxml
];
# There are no unit tests in the pypi tarball. Most of the unit tests on the
@@ -22,6 +24,12 @@ buildPythonPackage rec {
# See also: https://github.com/gcovr/gcovr/issues/206
doCheck = false;
pythonImportsCheck = [
"gcovr"
"gcovr.workers"
"gcovr.configuration"
];
meta = with stdenv.lib; {
description = "A Python script for summarizing gcov data";
license = licenses.bsd0;

View File

@@ -8,7 +8,7 @@ buildPythonPackage rec {
version = "2.0.18";
src = fetchurl {
url = "https://gdata-python-client.googlecode.com/files/${pname}-${version}.tar.gz";
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gdata-python-client/${pname}-${version}.tar.gz";
sha256 = "1dpxl5hwyyqd71avpm5vkvw8fhlvf9liizmhrq9jphhrx0nx5rsn";
};
@@ -16,7 +16,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with stdenv.lib; {
homepage = https://code.google.com/p/gdata-python-client/;
homepage = "https://github.com/google/gdata-python-client";
description = "Python client library for Google data APIs";
license = licenses.asl20;
};

View File

@@ -29,7 +29,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Python geospatial data analysis framework";
homepage = https://geopandas.org;
homepage = "http://geopandas.org";
license = licenses.bsd3;
maintainers = with maintainers; [ knedlsepp ];
};

View File

@@ -32,7 +32,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Google Application Utilities for Python";
homepage = http://code.google.com/p/google-apputils-python;
homepage = "https://github.com/google/google-apputils";
license = licenses.asl20;
};

View File

@@ -19,7 +19,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Cloud Speech API enables integration of Google speech recognition into applications.";
homepage = "https://googlecloudplatform.github.io/google-cloud-python/latest/speech/";
homepage = "https://github.com/googleapis/google-cloud-python/tree/master/speech";
license = licenses.asl20;
maintainers = with maintainers; [ vanschelven ];
};

View File

@@ -14,6 +14,11 @@ buildPythonPackage rec {
propagatedBuildInputs = [ transitions websockets passlib docopt pyyaml ];
postPatch = ''
# test tries to bind same port multiple times and fails
rm tests/test_client.py
'';
checkInputs = [ nose ];
checkPhase = ''

View File

@@ -13,7 +13,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with lib; {
homepage = http://code.google.com/p/httplib2;
homepage = "https://github.com/httplib2/httplib2";
description = "A comprehensive HTTP client library";
license = licenses.mit;
maintainers = with maintainers; [ ];

View File

@@ -1,15 +1,15 @@
{ lib, buildPythonPackage, fetchPypi, requests }:
{ lib, buildPythonPackage, fetchPypi, requests, six }:
buildPythonPackage rec {
pname = "hvac";
version = "0.9.5";
version = "0.9.6";
src = fetchPypi {
inherit pname version;
sha256 = "8b98be5868132a591ae5a3ca4b415231d4eac22d3fd77dbd69c3b1081d9ea26d";
sha256 = "1v37jabp859691863mw8j06hqxsy16ndf804z2k5y5b0d167j9by";
};
propagatedBuildInputs = [ requests ];
propagatedBuildInputs = [ requests six ];
# Requires running a Vault server
doCheck = false;

View File

@@ -22,7 +22,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Accessing and Modifying INI files";
homepage = http://code.google.com/p/iniparse/;
homepage = "https://github.com/candlepin/python-iniparse";
license = licenses.mit;
maintainers = with maintainers; [ danbst ];
};

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Google's IP address manipulation library";
homepage = http://code.google.com/p/ipaddr-py/;
homepage = "https://github.com/google/ipaddr-py";
license = licenses.asl20;
};

View File

@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "ipdb";
version = "0.12.2";
version = "0.12.3";
disabled = isPyPy; # setupterm: could not find terminfo database
src = fetchPypi {
inherit pname version;
sha256 = "0mzfv2sa8qabqzh2vqgwhavb15gsmcgqn6i3jgq6b5q9i9wxsgs7";
sha256 = "1zbj7xjhkr44grfyv1hb7ff5n1218f9jjabgzica29vh7c74m6jx";
};
propagatedBuildInputs = [ ipython ];

View File

@@ -28,7 +28,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git";
homepage = "https://docs.openstack.org/infra/system-config/jjb.html";
homepage = "https://docs.openstack.org/infra/jenkins-job-builder/";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};

View File

@@ -30,7 +30,7 @@ buildPythonPackage rec {
meta = {
description = "Lightweight pipelining: using Python functions as pipeline jobs";
homepage = https://pythonhosted.org/joblib/;
homepage = "https://joblib.readthedocs.io/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ costrouc ];
};

View File

@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp, jsonrpc-base }:
, aiohttp, jsonrpc-base, pep8 }:
buildPythonPackage rec {
pname = "jsonrpc-websocket";
@@ -10,6 +10,8 @@ buildPythonPackage rec {
sha256 = "f1aaca95db795d6a9f7bba52ff83c7fd4139050d0df93ee3a5a448adcfa0c0ac";
};
nativeBuildInputs = [ pep8 ];
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
meta = with stdenv.lib; {

View File

@@ -1,18 +1,14 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs-docker
{ stdenv, buildPythonPackage, fetchPypi, pythonAtLeast
, docker
, traitlets
, python-json-logger
, escapism
, jinja2
, ruamel_yaml
, pkgs-docker
, python-json-logger
, pyyaml
, pytest
, wheel
, pytestcov
, pythonAtLeast
, ruamel_yaml
, semver
, toml
, traitlets
}:
buildPythonPackage rec {
@@ -25,12 +21,28 @@ buildPythonPackage rec {
sha256 = "7965262913be6be60e64c8016f5f3d4bf93701f2787209215859d73b2adbc05a";
};
checkInputs = [ pytest pyyaml wheel pytestcov ];
propagatedBuildInputs = [ pkgs-docker docker traitlets python-json-logger escapism jinja2 ruamel_yaml ];
propagatedBuildInputs = [
docker
escapism
jinja2
pkgs-docker
python-json-logger
ruamel_yaml
semver
toml
traitlets
];
# tests not packaged with pypi release
doCheck = false;
pythonImportsCheck = [
"repo2docker"
"repo2docker.app"
"repo2docker.utils"
"repo2docker.contentproviders.base"
];
meta = with stdenv.lib; {
homepage = https://repo2docker.readthedocs.io/en/latest/;
description = "Repo2docker: Turn code repositories into Jupyter enabled Docker Images";

View File

@@ -3,14 +3,14 @@
buildPythonPackage rec {
pname = "libarcus";
version = "4.3.0";
version = "4.4.0";
format = "other";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "libArcus";
rev = version;
sha256 = "1x06daijxbrqj0dlxmi2zn7ap74zf6hih3krmkwhvarm2nr052g4";
sha256 = "16m7m6ak5fqw3djn4azwiamkizcc1dv7brv11kv99n3b43zzgn6d";
};
disabled = pythonOlder "3.4.0";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
buildInputs = [ protobuf ];
postPatch = ''
sed -i 's#''${Python3_SITELIB}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
sed -i 's#''${Python3_SITEARCH}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
'';
meta = with stdenv.lib; {

View File

@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "libsavitar";
version = "4.3.0";
version = "4.4.0";
format = "other";
src = fetchFromGitHub {

View File

@@ -22,7 +22,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A modified version of Supybot, an IRC bot";
homepage = http://supybot.fr.cr;
homepage = "https://github.com/ProgVal/Limnoria";
license = licenses.bsd3;
maintainers = with maintainers; [ goibhniu ];
};

View File

@@ -14,7 +14,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Logging utilities";
homepage = http://code.google.com/p/logutils/;
homepage = "https://bitbucket.org/vinay.sajip/logutils/";
license = licenses.bsd0;
};

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with stdenv.lib; {
homepage = http://code.google.com/p/pymox/;
homepage = "https://pymox.readthedocs.io/";
description = "A mock object framework for Python";
license = licenses.asl20;
};

View File

@@ -46,7 +46,7 @@ buildPythonPackage rec {
meta = {
description =
"Python bindings for the Message Passing Interface standard";
homepage = http://code.google.com/p/mpi4py/;
homepage = "https://bitbucket.org/mpi4py/mpi4py/";
license = stdenv.lib.licenses.bsd3;
};
}

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with stdenv.lib; {
homepage = http://mpmath.googlecode.com;
homepage = "http://mpmath.org/";
description = "A pure-Python library for multiprecision floating arithmetic";
license = licenses.bsd3;
maintainers = with maintainers; [ lovek323 ];

View File

@@ -28,7 +28,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Terminal based YouTube player and downloader";
homepage = https://github.com/np1/mps-youtube;
homepage = "https://github.com/mps-youtube/mps-youtube";
license = licenses.gpl3;
maintainers = with maintainers; [ odi ];
};

View File

@@ -23,7 +23,7 @@ buildPythonPackage rec {
'';
meta = with stdenv.lib; {
homepage = http://alastair/python-musicbrainz-ngs;
homepage = "https://python-musicbrainzngs.readthedocs.org/";
description = "Python bindings for musicbrainz NGS webservice";
license = licenses.bsd2;
maintainers = with maintainers; [ domenkozar ];

View File

@@ -12,7 +12,7 @@ buildPythonPackage rec {
disabled = isPy3k || isPyPy;
src = fetchurl {
url = "http://namebench.googlecode.com/files/${pname}-${version}-source.tgz";
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/{pname}/${pname}-${version}-source.tgz";
sha256 = "09clbcd6wxgk4r6qw7hb78h818mvca7lijigy1mlq5y1f3lgkk1h";
};
@@ -28,15 +28,14 @@ buildPythonPackage rec {
'';
meta = with stdenv.lib; {
homepage = http://namebench.googlecode.com/;
homepage = "https://github.com/google/namebench"; # Formerly https://code.google.com/archive/p/namebench/
description = "Find fastest DNS servers available";
license = with licenses; [
asl20
# third-party program licenses (embedded in the sources)
"LGPL" # Crystal_Clear
free # dns
asl20 # graphy
"BSD" # jinja2
lgpl21 # Crystal_Clear
isc # dns
bsd3 # jinja2
];
longDescription = ''
It hunts down the fastest DNS servers available for your computer to

View File

@@ -24,12 +24,12 @@
buildPythonPackage rec {
pname = "nbdime";
version = "1.0.7";
version = "1.1.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "28615cb92d59e0511026bac4c916f16dc15981bcad4ddc3f7fdd6a289ea01242";
sha256 = "0qfy7nmlg75vryvrlgd6p0rqrvcclq8n9kd0n4xv5959s9sjy0w0";
};
checkInputs = [

View File

@@ -31,7 +31,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with stdenv.lib; {
homepage = http://ncclient.org/;
homepage = "https://github.com/ncclient/ncclient";
description = "Python library for NETCONF clients";
license = licenses.asl20;
maintainers = with maintainers; [ xnaveira ];

View File

@@ -0,0 +1,55 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, six
, numpy
, pytestCheckHook
, pykka
, enum34
, pythonOlder
}:
# Note we currently do not patch the path to the drivers
# because those are not available in Nixpkgs.
# https://github.com/NixOS/nixpkgs/pull/74980
buildPythonPackage rec {
pname = "nidaqmx";
version = src.rev;
src = fetchFromGitHub {
owner = "ni";
repo = "nidaqmx-python";
rev = "0.5.7";
sha256 = "19m9p99qvdmvvqbwmqrqm6b50x7czgrj07gdsxbbgw04shf5bhrs";
};
propagatedBuildInputs = [
numpy
six
] ++ lib.optionals (pythonOlder "3.4") [
enum34
];
checkInputs = [
pytestCheckHook
pykka
];
dontUseSetuptoolsCheck = true;
# Older pytest is needed
# https://github.com/ni/nidaqmx-python/issues/80
# Fixture "x_series_device" called directly. Fixtures are not meant to be called directly
doCheck = false;
pythonCheckImports = [
"nidaqmx.task"
];
meta = {
description = "API for interacting with the NI-DAQmx driver";
license = [ lib.licenses.mit ];
maintainers = [ lib.maintainers.fridh ];
};
}

View File

@@ -1,19 +1,19 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
version = "1.23";
version = "1.24";
pname = "numericalunits";
src = fetchPypi {
inherit pname version;
sha256 = "1q1jrzxx0k7j82c5q061hd10mp965ra8813vb09ji326fbxzn2gy";
sha256 = "0wn7kqp0rxqr6gnqhdn8pc0wy359krzan0kbika6hfvb0c1rw1hs";
};
# no tests
doCheck = false;
disabled = !isPy3k;
meta = with stdenv.lib; {
homepage = http://pypi.python.org/pypi/numericalunits;

View File

@@ -66,7 +66,7 @@ in buildPythonPackage rec {
meta = {
description = "Scientific tools for Python";
homepage = http://numpy.scipy.org/;
homepage = https://numpy.org/;
maintainers = with lib.maintainers; [ fridh ];
};
}

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with stdenv.lib; {
homepage = http://code.google.com/p/oauth;
homepage = https://code.google.com/archive/p/oauth/;
description = "Library for OAuth version 1.0a";
license = licenses.mit;
};

View File

@@ -23,7 +23,7 @@ buildPythonPackage rec {
meta = {
description = "Optimizing NumPy's einsum function with order optimization and GPU support.";
homepage = http://optimized-einsum.readthedocs.io;
homepage = "https://optimized-einsum.readthedocs.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ teh ];
};

View File

@@ -19,7 +19,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Optimizing NumPy's einsum function with order optimization and GPU support.";
homepage = http://optimized-einsum.readthedocs.io;
homepage = https://github.com/dgasmith/opt_einsum;
license = licenses.mit;
maintainers = with maintainers; [ teh ];
};

View File

@@ -17,8 +17,8 @@ buildPythonPackage rec {
meta = {
description = "Thin wrapper around OVH's APIs";
homepage = http://api.ovh.com/;
homepage = https://github.com/ovh/python-ovh;
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.makefu ];
};
}
}

View File

@@ -15,7 +15,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A library to download YouTube content and retrieve metadata";
homepage = http://np1.github.io/pafy/;
homepage = https://github.com/mps-youtube/pafy;
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ odi ];
};

View File

@@ -113,7 +113,7 @@ in buildPythonPackage rec {
# https://github.com/pandas-dev/pandas/issues/14866
# pandas devs are no longer testing i686 so safer to assume it's broken
broken = stdenv.isi686;
homepage = http://pandas.pydata.org/;
homepage = "https://pandas.pydata.org/";
description = "Python Data Analysis Library";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ raskin knedlsepp ];

View File

@@ -111,7 +111,7 @@ in buildPythonPackage rec {
# https://github.com/pandas-dev/pandas/issues/14866
# pandas devs are no longer testing i686 so safer to assume it's broken
broken = stdenv.isi686;
homepage = http://pandas.pydata.org/;
homepage = https://pandas.pydata.org/;
description = "Python Data Analysis Library";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ raskin fridh knedlsepp ];

View File

@@ -32,7 +32,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A high level dashboarding library for python visualization libraries";
homepage = http://pyviz.org;
homepage = https://pyviz.org;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec{
pname = "periodictable";
version = "1.5.1";
version = "1.5.2";
propagatedBuildInputs = [numpy pyparsing];
src = fetchPypi {
inherit pname version;
sha256 = "0qd7rjhlnb2xxi7rhpidh9pabg2m4rq6zhdcsyiymni8mgjm8dfg";
sha256 = "1lx03xirh3hcrzkwrz91dmdzcj01bykq59hccd83ai901jzqmshz";
};
meta = {

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pgspecial";
version = "1.11.7";
version = "1.11.8";
src = fetchPypi {
inherit pname version;
sha256 = "0wy1zmd44y0vl0kxx2y53g6lpipmixbwwrg6c2r7rc3nwa0icl7p";
sha256 = "8c53fa2b2490fa9ec34ede4eafff8ddbe8bce5cba3dcae96509be36ec8c75575";
};
checkInputs = [ pytest ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.10.23";
version = "8.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "b31916281b0819c1e24ee3c21561ecd8be5af9381088557a986af85051a243bf";
sha256 = "1gc38v26hp638vnx4hmyv2gfyjs8k8lbvnlxfixgm60v4v7wykln";
};
meta = {

View File

@@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, flake8
, nose
}:
buildPythonPackage rec {
pname = "polyline";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0x60lm3ccq9zrcqlzyk041xgr1mi0k9lzyyv3cbbdiq9kb88jzvw";
};
propagatedBuildInputs = [ six ];
checkInputs = [ flake8 nose ];
checkPhase = ''
nosetests
'';
meta = with lib; {
homepage = https://github.com/hicsail/polyline;
license = licenses.mit;
description = "Python implementation of Google's Encoded Polyline Algorithm Format.";
longDescription = "polyline is a Python implementation of Google's Encoded Polyline Algorithm Format (http://goo.gl/PvXf8Y). It is essentially a port of https://github.com/mapbox/polyline built with Python 2 and 3 support in mind.";
maintainers = with maintainers; [ ersin ];
};
}

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pomegranate";
version = "0.11.1";
version = "0.11.2";
src = fetchFromGitHub {
repo = pname;
owner = "jmschrei";
rev = "v${version}";
sha256 = "19kdzqyj86aldsls68a6ymrs8sasv3a8r4wjmfdmcif1xsg6zb4q";
sha256 = "070ciwww1lhjmfwd5n1kcwgxwbgdfvmhjs4l156bnf08z9dlrafl";
};
propagatedBuildInputs = [ numpy scipy cython networkx joblib pyyaml ];

View File

@@ -23,11 +23,6 @@ buildPythonPackage rec {
sha256 = "7538d02045a1fd3aa2b2834bfda463da8755bd3ff050edc6c5ddff3bc616215f";
};
postPatch = ''
rm -r tests/__pycache__
rm tests/*.pyc
'';
propagatedBuildInputs = [ python-utils ];
nativeBuildInputs = [ pytestrunner ];
checkInputs = [

View File

@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "pyftdi";
version = "0.30.3";
version = "0.42.2";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "ed55f0cb2d2f84b6e97be9583d582480ba9777cb0179aac0bb0ac480cd6760f5";
sha256 = "1bpb2rq7bc3p4g9qrfp4a7qcic79cvv1wh17j231bnpmy48njhvj";
};
propagatedBuildInputs = [ pyusb pyserial ];

View File

@@ -1,11 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi, mupdf, swig }:
buildPythonPackage rec {
pname = "PyMuPDF";
version = "1.16.8";
version = "1.16.9";
src = fetchPypi {
inherit pname version;
sha256 = "3099b48a796885c0760d8ac5439131dee1bc6adadf7ae008417e0ca8d8fcdf15";
sha256 = "09h960ns42bbrv10bg99fad193yvg64snhw8x7d78wg3qqvnnicc";
};
patchPhase = ''

View File

@@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, pyserial }:
buildPythonPackage rec {
pname = "pyserial-asyncio";
version = "0.4";
disabled = !isPy3k; # Doesn't support python older than 3.4
buildInputs = [ pyserial ];
src = fetchPypi {
inherit pname version;
sha256 = "1vlsb0d03krxlj7vpvyhpinnyxyy8s3lk5rs8ba2932dhyl7f1n4";
};
meta = with stdenv.lib; {
description = "asyncio extension package for pyserial";
homepage = "https://github.com/pyserial/pyserial-asyncio";
license = licenses.bsd3;
maintainers = with maintainers; [ etu ];
platforms = platforms.linux;
};
}

View File

@@ -17,7 +17,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges";
homepage = https://code.google.com/p/mimeparse/;
homepage = "https://github.com/dbtsai/python-mimeparse";
license = licenses.mit;
};

View File

@@ -6,12 +6,12 @@
buildPythonPackage rec {
pname = "pythondialog";
version = "3.4.0";
version = "3.5.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1728ghsran47jczn9bhlnkvk5bvqmmbihabgif5h705b84r1272c";
sha256 = "11ydvllwll23qmcd3saachcxzn1dj5if3kc36p37ncf06xc5c0m4";
};
patchPhase = ''

View File

@@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Python IRC library";
homepage = https://bitbucket.org/jaraco/irc;
homepage = "https://github.com/jaraco/irc";
license = with licenses; [ lgpl21 ];
};

View File

@@ -1,27 +0,0 @@
{ stdenv
, buildPythonPackage
, fetchurl
, pkgs
, pygtk
}:
buildPythonPackage rec {
pname = "pywebkitgtk";
version = "1.1.8";
format = "other";
src = fetchurl {
url = "http://pywebkitgtk.googlecode.com/files/${pname}-${version}.tar.bz2";
sha256 = "1svlwyl61rvbqbcbalkg6pbf38yjyv7qkq9sx4x35yk69lscaac2";
};
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = [ pygtk pkgs.gtk2 pkgs.libxml2 pkgs.libxslt pkgs.libsoup pkgs.webkitgtk24x-gtk2 pkgs.icu ];
meta = with stdenv.lib; {
homepage = "https://code.google.com/p/pywebkitgtk/";
description = "Python bindings for the WebKit GTK port";
license = licenses.lgpl2Plus;
};
}

View File

@@ -6,26 +6,37 @@
, astropy-healpix
, astropy-helpers
, scipy
, pytest
, pytest-astropy
, cython
}:
buildPythonPackage rec {
pname = "reproject";
version = "0.5.1";
doCheck = false; # tests require pytest-astropy
version = "0.6";
src = fetchPypi {
inherit pname version;
sha256 = "069rha55cbm8vsi1qf8zydds42lgkcc97sd57hmjw1mgiz025xrp";
sha256 = "484fde86d70d972d703038f138d7c2966ddf51171a6e79bd84e82ea270e27af3";
};
propagatedBuildInputs = [ numpy astropy astropy-healpix astropy-helpers scipy ];
nativeBuildInputs = [ astropy-helpers cython ];
# Disable automatic update of the astropy-helper module
postPatch = ''
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
'';
checkInputs = [ pytest pytest-astropy ];
# Tests must be run in the build directory
checkPhase = ''
cd build/lib*
pytest
'';
meta = with lib; {
description = "Reproject astronomical images";
homepage = https://reproject.readthedocs.io;

View File

@@ -1,4 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, urllib3, certifi, django, flask, tornado, bottle, rq, falcon, celery, pyramid, sanic, aiohttp }:
{ aiohttp
, bottle
, buildPythonPackage
, celery
, certifi
, django
, falcon
, fetchPypi
, flask
, iana-etc
, isPy3k
, libredirect
, pyramid
, rq
, sanic
, stdenv
, tornado
, urllib3
}:
buildPythonPackage rec {
pname = "sentry-sdk";
@@ -20,4 +38,14 @@ buildPythonPackage rec {
license = licenses.bsd2;
maintainers = with maintainers; [ gebner ];
};
# The Sentry tests need access to `/etc/protocols` (the tests call
# `socket.getprotobyname('tcp')`, which reads from this file). Normally
# this path isn't available in the sandbox. Therefore, use libredirect
# to make on eavailable from `iana-etc`. This is a test-only operation.
preCheck = ''
export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols
export LD_PRELOAD=${libredirect}/lib/libredirect.so
'';
postCheck = "unset NIX_REDIRECTS LD_PRELOAD";
}

View File

@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "shodan";
version = "1.19.1";
version = "1.20.0";
src = fetchPypi {
inherit pname version;
sha256 = "76b8a3ba577a62799e3ea86410aea54e1f403ef6efbf681a3f38baa2bf4e1c58";
sha256 = "163fbz06xg4ncvmgsg85x2689zd1bvycc3506xqvcgh8xcz3izif";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,43 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, clickclick
, dnspython
, requests
, pytest
, pytestcov
, isPy3k
}:
buildPythonPackage rec {
pname = "stups-cli-support";
version = "1.1.20";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "zalando-stups";
repo = "stups-cli-support";
rev = version;
sha256 = "1r6g29gd009p87m8a6wv4rzx7f0564zdv67qz5xys4wsgvc95bx0";
};
propagatedBuildInputs = [
clickclick
dnspython
requests
];
preCheck = "export HOME=$TEMPDIR";
checkInputs = [
pytest
pytestcov
];
meta = with lib; {
description = "Helper library for all STUPS command line tools.";
homepage = "https://github.com/zalando-stups/stups-cli-support";
license = licenses.asl20;
maintainers = [ maintainers.mschuwalow ];
};
}

View File

@@ -0,0 +1,39 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, requests
, mock
, pytest
, pytestcov
, isPy3k
}:
buildPythonPackage rec {
pname = "stups-tokens";
version = "1.1.19";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "zalando-stups";
repo = "python-tokens";
rev = version;
sha256 = "09z3l3xzdlwpivbi141gk1k0zd9m75mjwbdy81zc386rr9k8s0im";
};
propagatedBuildInputs = [
requests
];
checkInputs = [
mock
pytest
pytestcov
];
meta = with lib; {
description = "A Python library that keeps OAuth 2.0 service access tokens in memory for your usage.";
homepage = "https://github.com/zalando-stups/python-tokens";
license = licenses.asl20;
maintainers = [ maintainers.mschuwalow ];
};
}

View File

@@ -0,0 +1,52 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, stups-tokens
, stups-cli-support
, pytest
, pytestcov
, isPy3k
}:
buildPythonPackage rec {
pname = "stups-zign";
version = "1.2";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "zalando-stups";
repo = "zign";
rev = version;
sha256 = "1vk6pnprnd5lfx96hc2c1n7kwh99f260r730x4y2h7lamlv82fh4";
};
patches = [
# pytest 5 is currently unsupported. Fetch and apply a pr that resolves this.
(fetchpatch {
url = https://github.com/zalando-stups/zign/commit/50140720211e547b0e59f7ddb39a732f0cc73ad7.patch;
sha256 = "1zmyvg1z1asaqqsmxvsx0srvxd6gkgavppvg3dblxwhkml01awqk";
})
];
propagatedBuildInputs = [
stups-tokens
stups-cli-support
];
preCheck = "
export HOME=$TEMPDIR
";
checkInputs = [
pytest
pytestcov
];
meta = with lib; {
description = "OAuth2 token management command line utility.";
homepage = "https://github.com/zalando-stups/zign";
license = licenses.asl20;
maintainers = [ maintainers.mschuwalow ];
};
}

View File

@@ -25,6 +25,8 @@
, sse42Support ? builtins.elem (stdenv.hostPlatform.platform.gcc.arch or "default") ["westmere" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylake-avx512"]
, avx2Support ? builtins.elem (stdenv.hostPlatform.platform.gcc.arch or "default") [ "haswell" "broadwell" "skylake" "skylake-avx512"]
, fmaSupport ? builtins.elem (stdenv.hostPlatform.platform.gcc.arch or "default") [ "haswell" "broadwell" "skylake" "skylake-avx512"]
# Darwin deps
, Foundation, Security
}:
assert cudaSupport -> nvidia_x11 != null
@@ -157,6 +159,9 @@ let
cudatoolkit
cudnn
nvidia_x11
] ++ lib.optionals stdenv.isDarwin [
Foundation
Security
];
# arbitrarily set to the current latest bazel version, overly careful
@@ -326,7 +331,7 @@ let
homepage = http://tensorflow.org;
license = licenses.asl20;
maintainers = with maintainers; [ jyp abbradar ];
platforms = platforms.linux;
platforms = with platforms; linux ++ darwin;
# The py2 build fails due to some issue importing protobuf. Possibly related to the fix in
# https://github.com/akesandgren/easybuild-easyblocks/commit/1f2e517ddfd1b00a342c6abb55aef3fd93671a2b
broken = !(xlaSupport -> cudaSupport) || !isPy3k;

View File

@@ -2,7 +2,7 @@
, pyqt5, numpy, scipy, shapely, libarcus, doxygen, gettext, pythonOlder }:
buildPythonPackage rec {
version = "4.3.0";
version = "4.4.0";
pname = "uranium";
format = "other";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "Ultimaker";
repo = "Uranium";
rev = version;
sha256 = "13dk6hkwrzljp1dyb40cyfnfbnl7dvlqsm0ncnmxhwizxr31jb8c";
sha256 = "1hy7lhn48mfrmfx6mbqxzc6bfh9ndnvcwjlsb6a71mw62xg6w7c2";
};
disabled = pythonOlder "3.5.0";

View File

@@ -1,13 +0,0 @@
diff --git a/setup.py b/setup.py
index 991e89c..7a96ccf 100755
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ import yowsup
import platform
import sys
-deps = ['python-dateutil', 'argparse', 'python-axolotl>=0.1.39', 'six==1.10']
+deps = ['python-dateutil', 'python-axolotl>=0.1.39', 'six']
if sys.version_info < (2,7):
deps += ['importlib', "protobuf==3.4.0"]

View File

@@ -1,10 +1,10 @@
{ buildPythonPackage, stdenv, fetchFromGitHub, six, python-axolotl, pytest
, isPy3k
, isPy3k, consonance, appdirs
}:
buildPythonPackage rec {
pname = "yowsup";
version = "2.5.7";
version = "3.2.3";
# The Python 2.x support of this package is incompatible with `six==1.11`:
# https://github.com/tgalal/yowsup/issues/2416#issuecomment-365113486
@@ -14,7 +14,7 @@ buildPythonPackage rec {
owner = "tgalal";
repo = "yowsup";
rev = "v${version}";
sha256 = "1p0hdj5x38v2cxjnhdnqcnp5g7la57mbi365m0z83wa01x2n73w6";
sha256 = "0wb8yl685nr1i3vx89hwan5m6a482x8g48f5ksvdlph538p720pm";
};
checkInputs = [ pytest ];
@@ -22,9 +22,9 @@ buildPythonPackage rec {
HOME=$(mktemp -d) py.test yowsup
'';
patches = [ ./argparse-dependency.patch ];
patches = [ ./dependency-fixes.patch ];
propagatedBuildInputs = [ six python-axolotl ];
propagatedBuildInputs = [ six python-axolotl consonance appdirs ];
meta = with stdenv.lib; {
homepage = "https://github.com/tgalal/yowsup";

View File

@@ -0,0 +1,13 @@
diff --git a/setup.py b/setup.py
index e3871a7..930bd6a 100755
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ import yowsup
import platform
import sys
-deps = ['consonance==0.1.2', 'argparse', 'python-axolotl==0.2.2', 'six==1.10', 'appdirs', 'protobuf>=3.6.0']
+deps = ['consonance>=0.1', 'python-axolotl>=0.2', 'six>=1.10', 'appdirs', 'protobuf>=3.6.0']
if sys.version_info < (2, 7):
deps.append('importlib')

View File

@@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp, zigpy
, pytest }:
buildPythonPackage rec {
pname = "zha-quirks";
version = "0.0.28";
nativeBuildInputs = [ pytest ];
buildInputs = [ aiohttp zigpy ];
src = fetchPypi {
inherit pname version;
sha256 = "021z5f5dm74amxkqnz4s1690ydprciqg23jz3n4mpjlxyxbdfj73";
};
meta = with stdenv.lib; {
description = "ZHA Device Handlers are custom quirks implementations for Zigpy";
homepage = "https://github.com/dmulcahey/zha-device-handlers";
license = licenses.asl20;
maintainers = with maintainers; [ etu ];
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp, crccheck, pyserial, pyserial-asyncio, pycryptodome, zigpy
, pytest }:
buildPythonPackage rec {
pname = "zigpy-deconz";
version = "0.7.0";
nativeBuildInputs = [ pytest ];
buildInputs = [ aiohttp crccheck pycryptodome ];
propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
src = fetchPypi {
inherit pname version;
sha256 = "049k6lvgf6yjkinbbzm7gqrzqljk2ky9kfw8n53x8kjyfmfp71i2";
};
meta = with stdenv.lib; {
description = "Library which communicates with Deconz radios for zigpy";
homepage = "https://github.com/zigpy/zigpy-deconz";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ etu ];
platforms = platforms.linux;
};
}

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