python310Packages.posix_ipc: disable on unsupported Python releasese

This commit is contained in:
Fabian Affolter 2023-01-08 09:58:47 +01:00 committed by GitHub
parent faf4692856
commit 2cc11109b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, pythonOlder
}:
buildPythonPackage rec {
@ -9,14 +9,16 @@ buildPythonPackage rec {
version = "1.1.1";
format = "setuptools";
disabled = !isPy3k;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4kVroM+y7luhQSFFDo2CWzxKFGH8oHYSIKq2bUERy7c=";
hash = "sha256-4kVroM+y7luhQSFFDo2CWzxKFGH8oHYSIKq2bUERy7c=";
};
pythonImportsCheckHook = [ "posix_ipc" ];
pythonImportsCheckHook = [
"posix_ipc"
];
meta = with lib; {
description = "POSIX IPC primitives (semaphores, shared memory and message queues)";