pythonPackages.gipc: refactor move to python-modules
This commit is contained in:
parent
7771d40c05
commit
968b1ab947
35
pkgs/development/python-modules/gipc/default.nix
Normal file
35
pkgs/development/python-modules/gipc/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, gevent
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gipc";
|
||||
version = "0.5.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "08c35xzv7nr12d9xwlywlbyzzz2igy0yy6y52q2nrkmh5d4slbpc";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
}
|
@ -2380,31 +2380,7 @@ in {
|
||||
|
||||
ghdiff = callPackage ../development/python-modules/ghdiff { };
|
||||
|
||||
gipc = buildPythonPackage rec {
|
||||
name = "gipc-0.5.0";
|
||||
disabled = !isPy27;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/g/gipc/${name}.zip";
|
||||
sha256 = "08c35xzv7nr12d9xwlywlbyzzz2igy0yy6y52q2nrkmh5d4slbpc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ gevent ];
|
||||
|
||||
meta = {
|
||||
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 = callPackage ../development/python-modules/gipc { };
|
||||
|
||||
git-sweep = buildPythonPackage rec {
|
||||
name = "git-sweep-0.1.1";
|
||||
|
Loading…
Reference in New Issue
Block a user