pythonPackages.posix_ipc: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-25 21:46:16 -04:00 committed by Frederik Rietdijk
parent 4e3de5d2c1
commit c0c9392ce7
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "posix_ipc";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1jzg66708pi5n9w07fbz6rlxx30cjds9hp2yawjjfryafh1hg4ww";
};
meta = with stdenv.lib; {
description = "POSIX IPC primitives (semaphores, shared memory and message queues)";
license = licenses.bsd3;
homepage = http://semanchuk.com/philip/posix_ipc/;
};
}

View File

@ -3197,21 +3197,7 @@ in {
polib = callPackage ../development/python-modules/polib {};
posix_ipc = buildPythonPackage rec {
name = "posix_ipc-${version}";
version = "1.0.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/posix_ipc/${name}.tar.gz";
sha256 = "1jzg66708pi5n9w07fbz6rlxx30cjds9hp2yawjjfryafh1hg4ww";
};
meta = {
description = "POSIX IPC primitives (semaphores, shared memory and message queues)";
license = licenses.bsd3;
homepage = http://semanchuk.com/philip/posix_ipc/;
};
};
posix_ipc = callPackage ../development/python-modules/posix_ipc { };
portend = callPackage ../development/python-modules/portend { };