From 2463b8d0506f6a31f890629b04b8e9c843d3ec41 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 12 Mar 2023 09:40:24 +0800 Subject: [PATCH 1/3] python3Packages.dbus-python-client-gen: 0.8 -> 0.8.2 Diff: https://github.com/stratis-storage/dbus-python-client-gen/compare/v0.8...v0.8.2 --- .../python-modules/dbus-python-client-gen/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dbus-python-client-gen/default.nix b/pkgs/development/python-modules/dbus-python-client-gen/default.nix index ee4a467b5779..c01613864b32 100644 --- a/pkgs/development/python-modules/dbus-python-client-gen/default.nix +++ b/pkgs/development/python-modules/dbus-python-client-gen/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "dbus-python-client-gen"; - version = "0.8"; + version = "0.8.2"; src = fetchFromGitHub { owner = "stratis-storage"; repo = pname; rev = "v${version}"; - hash = "sha256-nSzxT65WHBVct5pGHmIAHJXftd0tKZeK/argN+V9xcs="; + hash = "sha256-RYgS4RNLLCtp+5gS/LlzdH7rlub48TSSSKhykkkBcuo="; }; propagatedBuildInputs = [ From 9abb4679bc665f28a7499833d2ba0c8c6df2532c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Mar 2023 10:31:23 +0100 Subject: [PATCH 2/3] python3Packages.dbus-python-client-gen: add changelog to meta --- .../python-modules/dbus-python-client-gen/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/dbus-python-client-gen/default.nix b/pkgs/development/python-modules/dbus-python-client-gen/default.nix index c01613864b32..d1646a4cef49 100644 --- a/pkgs/development/python-modules/dbus-python-client-gen/default.nix +++ b/pkgs/development/python-modules/dbus-python-client-gen/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "stratis-storage"; repo = pname; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-RYgS4RNLLCtp+5gS/LlzdH7rlub48TSSSKhykkkBcuo="; }; @@ -31,6 +31,7 @@ buildPythonPackage rec { meta = with lib; { description = "A Python library for generating dbus-python client code"; homepage = "https://github.com/stratis-storage/dbus-python-client-gen"; + changelog = "https://github.com/stratis-storage/dbus-python-client-gen/blob/v${version}/CHANGES.txt"; license = licenses.mpl20; maintainers = with maintainers; [ nickcao ]; }; From 3f90d05499d6549b00a8b32d82778661606a2573 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Mar 2023 10:45:32 +0100 Subject: [PATCH 3/3] python310Packages.dbus-python-client-gen: disable on unsupported Python releases --- .../python-modules/dbus-python-client-gen/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/dbus-python-client-gen/default.nix b/pkgs/development/python-modules/dbus-python-client-gen/default.nix index d1646a4cef49..3c7d91ebed5e 100644 --- a/pkgs/development/python-modules/dbus-python-client-gen/default.nix +++ b/pkgs/development/python-modules/dbus-python-client-gen/default.nix @@ -4,11 +4,15 @@ , into-dbus-python , dbus-python , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "dbus-python-client-gen"; version = "0.8.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "stratis-storage";