pythonPackages.gipc: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 16:32:16 -04:00 committed by Frederik Rietdijk
parent 7771d40c05
commit 968b1ab947
2 changed files with 36 additions and 25 deletions

View 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;
};
}

View File

@ -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";