mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python3Packages.gipc: relax gevent constraint, enable tests
This commit is contained in:
parent
5a0ee9d54d
commit
0c72b4a513
@ -1,19 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, gevent
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gipc";
|
||||
version = "1.4.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-P8d2GIxFAAHeXjXgIxKGwahiH1TW/9fE+V0f9Ra54wo=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jgehrcke";
|
||||
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; {
|
||||
description = "gevent-cooperative child processes and IPC";
|
||||
|
Loading…
Reference in New Issue
Block a user