python310Packages.posix_ipc: disable on unsupported Python releasese
This commit is contained in:
parent
faf4692856
commit
2cc11109b2
|
@ -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)";
|
||||
|
|
Loading…
Reference in a new issue