mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
35 lines
1018 B
Nix
35 lines
1018 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, gevent
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gipc";
|
|
version = "1.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "06116628e9cb7b2c34c8f248d0e4859fa5943e1e07381ad2b234ae9c7ed6f4cc";
|
|
};
|
|
|
|
propagatedBuildInputs = [ gevent ];
|
|
|
|
meta = with 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;
|
|
# gipc only has support for older versions of gevent
|
|
broken = versionOlder "1.6" gevent.version;
|
|
};
|
|
|
|
}
|