From c890f9ae89bd6a860ca2dbc68b016715f1ccf2eb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 1 Jun 2022 15:36:47 +0200 Subject: [PATCH] python310Packages.adafruit-platformdetect: disable on older Python releases --- .../python-modules/adafruit-platformdetect/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/adafruit-platformdetect/default.nix b/pkgs/development/python-modules/adafruit-platformdetect/default.nix index eba672033eec..a976c3de1b02 100644 --- a/pkgs/development/python-modules/adafruit-platformdetect/default.nix +++ b/pkgs/development/python-modules/adafruit-platformdetect/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , setuptools-scm +, pythonOlder }: buildPythonPackage rec { @@ -9,10 +10,12 @@ buildPythonPackage rec { version = "3.23.0"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchPypi { pname = "Adafruit-PlatformDetect"; inherit version; - sha256 = "sha256-4OWDwvdQBtV+ZqpITr027z0jwfge5/yOof9Xm7QRtuM="; + hash = "sha256-4OWDwvdQBtV+ZqpITr027z0jwfge5/yOof9Xm7QRtuM="; }; nativeBuildInputs = [