2018-10-16 21:32:16 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, gevent
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gipc";
|
2019-02-23 03:14:25 +00:00
|
|
|
version = "1.0.1";
|
2018-10-16 21:32:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-23 03:14:25 +00:00
|
|
|
sha256 = "1zg5bm30lqqd8x0jqbvr4yi8i4rzzk2hdnh280qnj2bwm5nqpghi";
|
2018-10-16 21:32:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gevent ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
homepage = http://gehrcke.de/gipc;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|