Merge branch 'master' into staging-next
Hydra: ?compare=1473892
This commit is contained in:
20
pkgs/development/python-modules/fastcache/default.nix
Normal file
20
pkgs/development/python-modules/fastcache/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
22
pkgs/development/python-modules/multiprocess/default.nix
Normal file
22
pkgs/development/python-modules/multiprocess/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
18
pkgs/development/python-modules/orderedset/default.nix
Normal file
18
pkgs/development/python-modules/orderedset/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
16
pkgs/development/python-modules/uuid/default.nix
Normal file
16
pkgs/development/python-modules/uuid/default.nix
Normal 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/;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user