Merge branch 'staging-next' into staging

This commit is contained in:
Vladimír Čunát
2018-08-17 20:53:27 +02:00
281 changed files with 5988 additions and 4908 deletions

View File

@@ -48,6 +48,8 @@ in buildPythonPackage rec {
''--exclude="(${builtins.concatStringsSep "|" excludedTests})"''}
'';
doCheck = !stdenv.isDarwin;
patches = [
# The following is in GitHub in 0.28.3 but not in the `sdist`.
# https://github.com/cython/cython/issues/2319

View File

@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "fastcache";
version = "1.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "1rl489zfbm2x67n7i6r7r4nhrhwk6yz3yc7x9y2rky8p95vhaw46";
};
checkInputs = [ pytest ];
meta = with lib; {
description = "C implementation of Python3 lru_cache for Python 2 and 3";
homepage = https://github.com/pbrady/fastcache;
license = licenses.mit;
maintainers = [ maintainers.bhipple ];
};
}

View File

@@ -1,6 +1,7 @@
{ stdenv, buildPythonPackage, fetchPypi, lib
, six, protobuf, enum34, futures, isPy27, isPy34 }:
{ stdenv, buildPythonPackage, fetchPypi, lib, darwin
, six, protobuf, enum34, futures, isPy27, isPy34, pkgconfig }:
with stdenv.lib;
buildPythonPackage rec {
pname = "grpcio";
version = "1.13.0";
@@ -10,10 +11,14 @@ buildPythonPackage rec {
sha256 = "6324581e215157f0fbe335dff2e21a65b4406db98ac7cca05f1e23b4f510b426";
};
nativeBuildInputs = [ pkgconfig ] ++ optional stdenv.isDarwin darwin.cctools;
propagatedBuildInputs = [ six protobuf ]
++ lib.optionals (isPy27 || isPy34) [ enum34 ]
++ lib.optionals (isPy27) [ futures ];
preBuild = optionalString stdenv.isDarwin "unset AR";
meta = with stdenv.lib; {
description = "HTTP/2-based RPC framework";
license = lib.licenses.asl20;

View File

@@ -1,6 +1,6 @@
{ buildPythonPackage, fetchPypi
, pyasn1, pyasn1-modules, pytest
, openldap, cyrus_sasl }:
, openldap, cyrus_sasl, stdenv }:
buildPythonPackage rec {
pname = "python-ldap";
@@ -26,4 +26,6 @@ buildPythonPackage rec {
py.test
'';
doCheck = !stdenv.isDarwin;
}

View File

@@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, dill }:
buildPythonPackage rec {
pname = "multiprocess";
version = "0.70.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "1ip5caz67b3q0553mr8gm8xwsb8x500jn8ml0gihgyfy52m2ypcq";
};
propagatedBuildInputs = [ dill ];
# Python-version dependent tests
doCheck = false;
meta = with lib; {
description = "Better multiprocessing and multithreading in python";
homepage = https://github.com/uqfoundation/multiprocess;
license = licenses.bsd3;
};
}

View File

@@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "orderedset";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "11643qr12ypxfffcminlsgl9xz751b2d0pnjl6zn8vfhxddjr57f";
};
meta = with stdenv.lib; {
description = "An Ordered Set implementation in Cython";
homepage = https://pypi.python.org/pypi/orderedset;
license = licenses.bsd3;
maintainers = [ maintainers.jtojnar ];
};
}

View File

@@ -1,17 +1,17 @@
{ buildPythonPackage, stdenv, tornado, pycrypto, pycurl, pytz
{ buildPythonPackage, tornado, pycrypto, pycurl, pytz
, pillow, derpconf, python_magic, pexif, libthumbor, opencv, webcolors
, piexif, futures, statsd, thumborPexif, fetchPypi, isPy3k, lib
}:
buildPythonPackage rec {
pname = "thumbor";
version = "6.5.1";
version = "6.5.2";
disabled = isPy3k; # see https://github.com/thumbor/thumbor/issues/1004
src = fetchPypi {
inherit pname version;
sha256 = "0yalqwpxb6m0dz2qfnyv1pqqd5dd020wl7hc0n0bvsvxg1ib9if0";
sha256 = "1icfnzwzi5lvnh576n7v3r819jaw15ph9ja2w3fwg5z9qs40xvl8";
};
postPatch = ''
@@ -40,7 +40,7 @@ buildPythonPackage rec {
# for further reference.
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "A smart imaging service";
homepage = https://github.com/thumbor/thumbor/wiki;
license = licenses.mit;

View File

@@ -5,6 +5,7 @@
, coverage
, glibcLocales
, flake8
, stdenv
}:
buildPythonPackage rec {
@@ -26,6 +27,8 @@ buildPythonPackage rec {
LC_ALL="en_US.UTF-8";
doCheck = !stdenv.isDarwin;
meta = {
description = "A Fast, Extensible Progress Meter";
homepage = https://github.com/tqdm/tqdm;

View File

@@ -0,0 +1,16 @@
{ lib, stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "uuid";
version = "1.30";
src = fetchPypi {
inherit pname version;
sha256 = "0gqrjsm85nnkxkmd1vk8350wqj2cigjflnvcydk084n5980cr1qz";
};
meta = with lib; {
description = "UUID object and generation functions (Python 2.3 or higher)";
homepage = http://zesty.ca/python/;
};
}