2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-25 21:46:16 -04:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-11-30 04:20:00 +00:00
|
|
|
, isPy3k
|
2018-10-25 21:46:16 -04:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "posix_ipc";
|
2022-11-28 03:41:50 +00:00
|
|
|
version = "1.1.0";
|
2022-11-30 04:20:00 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
2018-10-25 21:46:16 -04:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-11-28 03:41:50 +00:00
|
|
|
sha256 = "sha256-+GoVsys4Vzx44wXr2RANgZij2frMA/+v457cNYM3OOM=";
|
2018-10-25 21:46:16 -04:00
|
|
|
};
|
|
|
|
|
2022-11-30 04:20:00 +00:00
|
|
|
pythonImportsCheckHook = [ "posix_ipc" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-25 21:46:16 -04:00
|
|
|
description = "POSIX IPC primitives (semaphores, shared memory and message queues)";
|
|
|
|
license = licenses.bsd3;
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "http://semanchuk.com/philip/posix_ipc/";
|
2018-10-25 21:46:16 -04:00
|
|
|
};
|
|
|
|
}
|