Merge branch 'master' into staging-next

This commit is contained in:
Vladimír Čunát
2019-09-15 13:18:54 +02:00
192 changed files with 4150 additions and 2678 deletions

View File

@@ -3,7 +3,7 @@
buildPythonPackage rec {
pname = "XlsxWriter";
version = "1.2.0";
version = "1.2.1";
# 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 = "0w9ggzi887w4z6i5mz24kcy7qbkd4d7gycqi0dhqgaj9lzxh7jjh";
sha256 = "0br8ib9n17dfprfly93mjkhdhpndb7i4g57lwscvp2s69ssql32s";
};
meta = {

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-servicebus";
version = "0.50.0";
version = "0.50.1";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "c5864cfc69402e3e2897e61b3bd224ade28d9e33dad849e4bd6afad26a3d2786";
sha256 = "0i8ls5h2ny12h9gnqwyq13ysvxgdq7b1kxirj4n58dfy94a182gv";
};
buildInputs = [

View File

@@ -65,7 +65,6 @@ buildPythonPackage rec {
programming language.
'';
maintainers = with maintainers; [ edwtjo ];
broken = stdenv.targetPlatform.isDarwin;
license = licenses.gpl3Plus;
};
}

View File

@@ -21,4 +21,7 @@ buildPythonPackage {
'';
checkInputs = [ pytest more-itertools ];
enableParallelBuilding = true;
dontUseCmakeConfigure = true;
}

View File

@@ -1,4 +1,4 @@
{ buildPythonPackage, stdenv, fetchPypi }:
{ buildPythonPackage, stdenv, fetchPypi, setuptools }:
buildPythonPackage rec {
pname = "face_recognition_models";
@@ -12,6 +12,8 @@ buildPythonPackage rec {
# no module named `tests` as no tests are available
doCheck = false;
propagatedBuildInputs = [ setuptools ];
meta = with stdenv.lib; {
homepage = https://github.com/ageitgey/face_recognition_models;
license = licenses.cc0;

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, pytest }:
{ lib, buildPythonPackage, fetchPypi, pytest, fetchpatch }:
buildPythonPackage rec {
pname = "h11";
@@ -9,6 +9,14 @@ buildPythonPackage rec {
sha256 = "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k";
};
patches = [
# pytest5 compatability
(fetchpatch {
url = https://github.com/python-hyper/h11/commit/241e220493a511a5f5a5d472cb88d72661a92ab1.patch;
sha256 = "1s3ipf9s41m1lksws3xv3j133q7jnjdqvmgk4sfnm8q7li2dww39";
})
];
checkInputs = [ pytest ];
checkPhase = ''

View File

@@ -1,27 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
{ lib , buildPythonPackage, fetchPypi, isPy27
, falcon
, pytestrunner
, requests
}:
buildPythonPackage rec {
pname = "hug";
version = "2.4.8";
version = "2.6.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "2b33904660d07df3a6a998a52d1a36e2855e56dc9ffc4eddb2158e32d1ce7621";
sha256 = "0iamrzjy8z1xibynkgfl6cn2sbm66awxbp75b26pi32fc41d0k50";
};
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ falcon requests ];
# tests are not shipped in the tarball
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "A Python framework that makes developing APIs as simple as possible, but no simpler";
homepage = https://github.com/timothycrosley/hug;
license = licenses.mit;

View File

@@ -59,6 +59,7 @@ buildPythonPackage {
meta = {
description = "Protocol Buffers are Google's data interchange format";
homepage = https://developers.google.com/protocol-buffers/;
license = licenses.bsd3;
};
passthru.protobuf = protobuf;

View File

@@ -25,6 +25,8 @@ buildPythonPackage rec {
"-DCMAKE_POLICY_DEFAULT_CMP0025=NEW"
];
dontUseCmakeConfigure = true;
preBuild = ''
export PYARROW_PARALLEL=$NIX_BUILD_CORES
'';

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "pylint";
version = "1.9.4";
version = "1.9.5";
src = fetchPypi {
inherit pname version;
sha256 = "ee1e85575587c5b58ddafa25e1c1b01691ef172e139fc25585e5d3f02451da93";
sha256 = "004kfapkqxqy2s85pmddqv0fabxdxywxrlbi549p0v237pr2v94p";
};
checkInputs = [ pytest pytestrunner pyenchant ];
@@ -24,6 +24,8 @@ buildPythonPackage rec {
pytest pylint/test -k "not ${lib.concatStringsSep " and not " (
[ # Broken test
"test_good_comprehension_checks"
# requires setuptools
"test_pkginfo"
# See PyCQA/pylint#2535
"test_libmodule" ] ++
# Disable broken darwin tests

View File

@@ -11,6 +11,7 @@
, attrs
, pyopenssl
, service-identity
, setuptools
, idna
}:
buildPythonPackage rec {
@@ -23,7 +24,7 @@ buildPythonPackage rec {
sha256 = "294be2c6bf84ae776df2fc98e7af7d6537e1c5e60a46d33c3ce2a197677da395";
};
propagatedBuildInputs = [ zope_interface incremental automat constantly hyperlink pyhamcrest attrs ];
propagatedBuildInputs = [ zope_interface incremental automat constantly hyperlink pyhamcrest attrs setuptools ];
passthru.extras.tls = [ pyopenssl service-identity idna ];

View File

@@ -1,24 +1,21 @@
{ CFNetwork
, Security
, buildPythonPackage
{ lib, buildPythonPackage, fetchPypi, isPy3k
, certifi
, CFNetwork
, cmake
, enum34
, fetchPypi
, isPy3k
, lib
, openssl
, stdenv
, Security
, six
, stdenv
}:
buildPythonPackage rec {
pname = "uamqp";
version = "1.1.0";
version = "1.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "d3d4ff94bf290adb82fe8c19af709a21294bac9b27c821b9110165a34b922015";
sha256 = "0wmyw2l2pha5s6khih96lkfa90zyfy2mqsg8cx6vplmrmpx2s52i";
};
buildInputs = [
@@ -31,6 +28,8 @@ buildPythonPackage rec {
CFNetwork Security
];
dontUseCmakeConfigure = true;
nativeBuildInputs = [
cmake
];

View File

@@ -1,5 +1,6 @@
{ fetchPypi
, lib
, fetchpatch
, buildPythonPackage
, isPy3k
, appdirs
@@ -33,6 +34,13 @@ buildPythonPackage rec {
sha256 = "0e98669cfeb60756231ae185498f9ae21b30b2681786b8de58ed34c3b93e41dd";
};
patches = [
( fetchpatch {
url = "https://github.com/mvantellingen/python-zeep/pull/1006/commits/ba7edd6bf2b31023b31e8f17c161e1d6d5af3d29.patch";
sha256 = "1j0jd5hmh457im9sbawaqf6pnfy36fhr9wqdim8wk5da9ixr0ajs";
})
];
propagatedBuildInputs = [
appdirs
attrs