From 7c64708b10198e725bb90ff1ac4231735fd10bac Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 4 Apr 2024 03:16:30 +0000 Subject: [PATCH 1/3] python312Packages.myuplink: 0.5.0 -> 0.6.0 --- pkgs/development/python-modules/myuplink/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/myuplink/default.nix b/pkgs/development/python-modules/myuplink/default.nix index 5b4e11a51c6f..235b8e86e746 100644 --- a/pkgs/development/python-modules/myuplink/default.nix +++ b/pkgs/development/python-modules/myuplink/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "myuplink"; - version = "0.5.0"; + version = "0.6.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "pajzo"; repo = "myuplink"; rev = "refs/tags/${version}"; - hash = "sha256-UJGRQqgtbYBwfjys2sYiC3dx8Doesu34EBys5Y++qBY="; + hash = "sha256-QIFTM4RQR3C67q+sBUCPhUyXylzplNAppHjzvU7i2YU="; }; postPatch = '' From 58bf01775ec3d78aa1cd38a1bd365ab27bcefa28 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 09:50:19 +0200 Subject: [PATCH 2/3] python312Packages.myuplink: refactor --- pkgs/development/python-modules/myuplink/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/myuplink/default.nix b/pkgs/development/python-modules/myuplink/default.nix index 235b8e86e746..7d5483b9acc8 100644 --- a/pkgs/development/python-modules/myuplink/default.nix +++ b/pkgs/development/python-modules/myuplink/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { version = "0.6.0"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "pajzo"; @@ -25,11 +25,11 @@ buildPythonPackage rec { --replace-fail "%%VERSION_NO%%" "${version}" ''; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp ]; From f9a6c92dfedad02f4ad55e1645c3d6b08a0f3a88 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 09:50:40 +0200 Subject: [PATCH 3/3] python312Packages.myuplink: use nixfmt --- .../python-modules/myuplink/default.nix | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/myuplink/default.nix b/pkgs/development/python-modules/myuplink/default.nix index 7d5483b9acc8..3b4dee861369 100644 --- a/pkgs/development/python-modules/myuplink/default.nix +++ b/pkgs/development/python-modules/myuplink/default.nix @@ -1,9 +1,10 @@ -{ lib -, aiohttp -, buildPythonPackage -, fetchFromGitHub -, pythonOlder -, setuptools +{ + lib, + aiohttp, + buildPythonPackage, + fetchFromGitHub, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -25,17 +26,11 @@ buildPythonPackage rec { --replace-fail "%%VERSION_NO%%" "${version}" ''; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; - dependencies = [ - aiohttp - ]; + dependencies = [ aiohttp ]; - pythonImportsCheck = [ - "myuplink" - ]; + pythonImportsCheck = [ "myuplink" ]; meta = with lib; { description = "Module to interact with the myUplink API";