2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 21:32:16 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, gevent
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gipc";
|
2021-02-20 09:09:09 +00:00
|
|
|
version = "1.1.1";
|
2018-10-16 21:32:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:09 +00:00
|
|
|
sha256 = "f9a9d557e65e17bab8d7ff727ee3f1935e25bd52b01e63c23c7b3b52415728a5";
|
2018-10-16 21:32:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gevent ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 21:32:16 +01:00
|
|
|
description = "gevent-cooperative child processes and IPC";
|
|
|
|
longDescription = ''
|
|
|
|
Usage of Python's multiprocessing package in a gevent-powered
|
|
|
|
application may raise problems and most likely breaks the application
|
|
|
|
in various subtle ways. gipc (pronunciation "gipsy") is developed with
|
|
|
|
the motivation to solve many of these issues transparently. With gipc,
|
|
|
|
multiprocessing. Process-based child processes can safely be created
|
|
|
|
anywhere within your gevent-powered application.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://gehrcke.de/gipc";
|
2018-10-16 21:32:16 +01:00
|
|
|
license = licenses.mit;
|
2020-11-20 03:53:31 +00:00
|
|
|
# gipc only has support for older versions of gevent
|
|
|
|
broken = versionOlder "1.6" gevent.version;
|
2018-10-16 21:32:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|