python3Packages.gipc: relax gevent constraint, enable tests
This commit is contained in:
parent
5a0ee9d54d
commit
0c72b4a513
@ -1,19 +1,34 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, gevent
|
, gevent
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "gipc";
|
pname = "gipc";
|
||||||
version = "1.4.0";
|
version = "1.4.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "jgehrcke";
|
||||||
sha256 = "sha256-P8d2GIxFAAHeXjXgIxKGwahiH1TW/9fE+V0f9Ra54wo=";
|
repo = "gipc";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-T5TqLanODyzJGyjDZz+75bbz3THxoobYnfJFQxAB76E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ gevent ];
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "gevent>=1.5,<=21.12.0" "gevent>=1.5"
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
gevent
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "gevent-cooperative child processes and IPC";
|
description = "gevent-cooperative child processes and IPC";
|
||||||
|
Loading…
Reference in New Issue
Block a user