1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5}:
6
7buildPythonPackage rec {
8 pname = "posix-ipc";
9 version = "1.1.1";
10 format = "setuptools";
11
12 disabled = pythonOlder "3.7";
13
14 src = fetchFromGitHub {
15 owner = "osvenskan";
16 repo = "posix_ipc";
17 rev = "rel${version}";
18 hash = "sha256-xK5CkThqVFVMIxBtgUfHIRNRfmBxKa/DWBYQg7QHl/M=";
19 };
20
21 pythonImportsCheck = [
22 "posix_ipc"
23 ];
24
25 meta = with lib; {
26 description = "POSIX IPC primitives (semaphores, shared memory and message queues)";
27 homepage = "https://github.com/osvenskan/posix_ipc";
28 license = licenses.bsd3;
29 maintainers = with maintainers; [ ];
30 };
31}