Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5}:
6
7buildPythonPackage rec {
8 pname = "posix_ipc";
9 version = "1.1.0";
10 format = "setuptools";
11
12 disabled = !isPy3k;
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "sha256-+GoVsys4Vzx44wXr2RANgZij2frMA/+v457cNYM3OOM=";
17 };
18
19 pythonImportsCheckHook = [ "posix_ipc" ];
20
21 meta = with lib; {
22 description = "POSIX IPC primitives (semaphores, shared memory and message queues)";
23 homepage = "https://github.com/osvenskan/posix_ipc";
24 license = licenses.bsd3;
25 maintainers = with maintainers; [ ];
26 };
27}