depot/third_party/nixpkgs/pkgs/development/python-modules/posix_ipc/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

31 lines
656 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "posix-ipc";
version = "1.1.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "osvenskan";
repo = "posix_ipc";
rev = "rel${version}";
hash = "sha256-xK5CkThqVFVMIxBtgUfHIRNRfmBxKa/DWBYQg7QHl/M=";
};
pythonImportsCheck = [
"posix_ipc"
];
meta = with lib; {
description = "POSIX IPC primitives (semaphores, shared memory and message queues)";
homepage = "https://github.com/osvenskan/posix_ipc";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}