From 1a7e63652208c1423c19bcbf9e86103b622a17f5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 14 Jan 2024 10:38:24 +0100 Subject: [PATCH 1/2] python311Packages.opower: 0.1.0 -> 0.2.0 Diff: https://github.com/tronikos/opower/compare/refs/tags/v0.1.0...v0.2.0 Changelog: https://github.com/tronikos/opower/releases/tag/v0.2.0 --- pkgs/development/python-modules/opower/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/opower/default.nix b/pkgs/development/python-modules/opower/default.nix index f3e3828965d1..dee20aaf2a58 100644 --- a/pkgs/development/python-modules/opower/default.nix +++ b/pkgs/development/python-modules/opower/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "opower"; - version = "0.1.0"; + version = "0.2.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "tronikos"; repo = "opower"; rev = "refs/tags/v${version}"; - hash = "sha256-218AQ++ndwfS9wStWF7Zcn12gyoy5K7PAwv0HDGqbww="; + hash = "sha256-OT+QCbHQbL3vCfPuyzxBKqUJ2EtFn+PslrKGlrC6Ip8="; }; pythonRemoveDeps = [ From cfa3f2b8f6956079ee41a843bffad834bbe09448 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 14 Jan 2024 10:40:28 +0100 Subject: [PATCH 2/2] python311Packages.opower: refactor --- pkgs/development/python-modules/opower/default.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/opower/default.nix b/pkgs/development/python-modules/opower/default.nix index dee20aaf2a58..9c35a3c5491f 100644 --- a/pkgs/development/python-modules/opower/default.nix +++ b/pkgs/development/python-modules/opower/default.nix @@ -6,14 +6,13 @@ , pyotp , pytestCheckHook , pythonOlder -, pythonRelaxDepsHook , setuptools }: buildPythonPackage rec { pname = "opower"; version = "0.2.0"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.9"; @@ -24,13 +23,7 @@ buildPythonPackage rec { hash = "sha256-OT+QCbHQbL3vCfPuyzxBKqUJ2EtFn+PslrKGlrC6Ip8="; }; - pythonRemoveDeps = [ - # https://github.com/tronikos/opower/pull/4 - "asyncio" - ]; - nativeBuildInputs = [ - pythonRelaxDepsHook setuptools ];