From 07ec6f9b96bf8a3ccc9da7e20c7565a04d1f4999 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 1 Jun 2022 10:22:04 +0000 Subject: [PATCH 1/2] python310Packages.adafruit-platformdetect: 3.22.1 -> 3.23.0 --- .../python-modules/adafruit-platformdetect/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/adafruit-platformdetect/default.nix b/pkgs/development/python-modules/adafruit-platformdetect/default.nix index 921c844e27d8..eba672033eec 100644 --- a/pkgs/development/python-modules/adafruit-platformdetect/default.nix +++ b/pkgs/development/python-modules/adafruit-platformdetect/default.nix @@ -6,13 +6,13 @@ buildPythonPackage rec { pname = "adafruit-platformdetect"; - version = "3.22.1"; + version = "3.23.0"; format = "setuptools"; src = fetchPypi { pname = "Adafruit-PlatformDetect"; inherit version; - sha256 = "sha256-fOBs0aPekIvpwbrYxzh1wz7EKGko0Je1f/N5H0DIguw="; + sha256 = "sha256-4OWDwvdQBtV+ZqpITr027z0jwfge5/yOof9Xm7QRtuM="; }; nativeBuildInputs = [ From c890f9ae89bd6a860ca2dbc68b016715f1ccf2eb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 1 Jun 2022 15:36:47 +0200 Subject: [PATCH 2/2] 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 = [