From 1e19e86a229ecb7e548f790b013b0b88449b3343 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 30 Nov 2022 04:20:00 +0000 Subject: [PATCH] python310Packages.posix_ipc: add format attribute --- pkgs/development/python-modules/posix_ipc/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/posix_ipc/default.nix b/pkgs/development/python-modules/posix_ipc/default.nix index 58b7f3369e83..ced7dd8482f4 100644 --- a/pkgs/development/python-modules/posix_ipc/default.nix +++ b/pkgs/development/python-modules/posix_ipc/default.nix @@ -1,21 +1,26 @@ { lib , buildPythonPackage , fetchPypi +, isPy3k }: buildPythonPackage rec { pname = "posix_ipc"; version = "1.1.0"; + format = "setuptools"; + + disabled = !isPy3k; src = fetchPypi { inherit pname version; sha256 = "sha256-+GoVsys4Vzx44wXr2RANgZij2frMA/+v457cNYM3OOM="; }; + pythonImportsCheckHook = [ "posix_ipc" ]; + meta = with lib; { description = "POSIX IPC primitives (semaphores, shared memory and message queues)"; license = licenses.bsd3; homepage = "http://semanchuk.com/philip/posix_ipc/"; }; - }