From e7decf0387f7e9ee0fe6dc2c7443d44db610ac92 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 23 Apr 2022 11:45:36 +0200 Subject: [PATCH] python3Packages.winacl: disable on older Python releases --- pkgs/development/python-modules/winacl/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/winacl/default.nix b/pkgs/development/python-modules/winacl/default.nix index d39c5be164d7..52ae843d4260 100644 --- a/pkgs/development/python-modules/winacl/default.nix +++ b/pkgs/development/python-modules/winacl/default.nix @@ -1,15 +1,19 @@ { lib , buildPythonPackage , fetchPypi +, pythonOlder }: buildPythonPackage rec { pname = "winacl"; version = "0.1.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-G6xWep0hMACCqiJGuw+UpZH8qOIY4WO6sY3w4y7v6gY="; + hash = "sha256-G6xWep0hMACCqiJGuw+UpZH8qOIY4WO6sY3w4y7v6gY="; }; # Project doesn't have tests