From d8911b2864b99c53f6c30bc435338ec25547c4de Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 10 May 2024 10:02:34 +0200 Subject: [PATCH 1/3] python312Packages.adafruit-platformdetect: 3.62.0 -> 3.63.0 Changelog: https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/3.63.0 --- .../python-modules/adafruit-platformdetect/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/adafruit-platformdetect/default.nix b/pkgs/development/python-modules/adafruit-platformdetect/default.nix index bee4d68d5d73..f187f7ed0271 100644 --- a/pkgs/development/python-modules/adafruit-platformdetect/default.nix +++ b/pkgs/development/python-modules/adafruit-platformdetect/default.nix @@ -7,15 +7,15 @@ buildPythonPackage rec { pname = "adafruit-platformdetect"; - version = "3.62.0"; + version = "3.63.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { - pname = "Adafruit-PlatformDetect"; + pname = "adafruit_platformdetect"; inherit version; - hash = "sha256-L2CbqWqyOo4mq+KsO8FYAyHClRKFXMLWWtfYEg0SD34="; + hash = "sha256-bntcP/P0eoQsjIQQcJLtsXsPcSylKVNUp+f/RC/U5m4="; }; nativeBuildInputs = [ From 8241528bf4fb55c8bc8a73e8b2488937314a6379 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 10 May 2024 10:02:49 +0200 Subject: [PATCH 2/3] python312Packages.adafruit-platformdetect: refactor --- .../python-modules/adafruit-platformdetect/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/adafruit-platformdetect/default.nix b/pkgs/development/python-modules/adafruit-platformdetect/default.nix index f187f7ed0271..2babaebe34df 100644 --- a/pkgs/development/python-modules/adafruit-platformdetect/default.nix +++ b/pkgs/development/python-modules/adafruit-platformdetect/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { hash = "sha256-bntcP/P0eoQsjIQQcJLtsXsPcSylKVNUp+f/RC/U5m4="; }; - nativeBuildInputs = [ + build-system = [ setuptools-scm ]; From 5f117828241c3b45042afa7864a0ccd54dd08e63 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 10 May 2024 10:03:13 +0200 Subject: [PATCH 3/3] python312Packages.adafruit-platformdetect: format with nixfmt --- .../adafruit-platformdetect/default.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/adafruit-platformdetect/default.nix b/pkgs/development/python-modules/adafruit-platformdetect/default.nix index 2babaebe34df..3e220a23092f 100644 --- a/pkgs/development/python-modules/adafruit-platformdetect/default.nix +++ b/pkgs/development/python-modules/adafruit-platformdetect/default.nix @@ -1,8 +1,9 @@ -{ lib -, buildPythonPackage -, fetchPypi -, setuptools-scm -, pythonOlder +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools-scm, + pythonOlder, }: buildPythonPackage rec { @@ -18,16 +19,12 @@ buildPythonPackage rec { hash = "sha256-bntcP/P0eoQsjIQQcJLtsXsPcSylKVNUp+f/RC/U5m4="; }; - build-system = [ - setuptools-scm - ]; + build-system = [ setuptools-scm ]; # Project has not published tests yet doCheck = false; - pythonImportsCheck = [ - "adafruit_platformdetect" - ]; + pythonImportsCheck = [ "adafruit_platformdetect" ]; meta = with lib; { description = "Platform detection for use by Adafruit libraries";