From ec5f7bcc4f4c3057d0cbf6ce1ca1ae746ebddd2f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 10 Jun 2023 22:16:08 +0200 Subject: [PATCH 1/3] python311Packages.siobrultech-protocols: 0.9.0 -> 0.12.0 Diff: https://github.com/sdwilsh/siobrultech-protocols/compare/refs/tags/v0.9.0...v0.12.0 --- .../python-modules/siobrultech-protocols/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/siobrultech-protocols/default.nix b/pkgs/development/python-modules/siobrultech-protocols/default.nix index 5a4d6e0cafd0..bae9a31c4305 100644 --- a/pkgs/development/python-modules/siobrultech-protocols/default.nix +++ b/pkgs/development/python-modules/siobrultech-protocols/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "siobrultech-protocols"; - version = "0.9.0"; + version = "0.12.0"; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "sdwilsh"; repo = "siobrultech-protocols"; rev = "refs/tags/v${version}"; - hash = "sha256-8qhg7PX4u4vN2+hWXzFjC1ZzgCEhkSr9Fn58Lc4E76c="; + hash = "sha256-71iFZS5CLYXNw57psLXswNJKfvbeKOqSncLoSsNXqjc="; }; nativeCheckInputs = [ From e103448ce7a541fa141088816b9470b217f55b14 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 10 Jun 2023 22:17:21 +0200 Subject: [PATCH 2/3] python311Packages.siobrultech-protocols: add changelog to meta --- .../python-modules/siobrultech-protocols/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/siobrultech-protocols/default.nix b/pkgs/development/python-modules/siobrultech-protocols/default.nix index bae9a31c4305..c0439dcec706 100644 --- a/pkgs/development/python-modules/siobrultech-protocols/default.nix +++ b/pkgs/development/python-modules/siobrultech-protocols/default.nix @@ -33,10 +33,11 @@ buildPythonPackage rec { "siobrultech_protocols.gem.protocol" ]; - meta = { + meta = with lib; { description = "A Sans-I/O Python client library for Brultech Devices"; homepage = "https://github.com/sdwilsh/siobrultech-protocols"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ dotlambda ]; + changelog = "https://github.com/sdwilsh/siobrultech-protocols/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; }; } From 2da59ab0b0555b300fbeec9d4f3dccab86767c91 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 10 Jun 2023 22:32:10 +0200 Subject: [PATCH 3/3] python311Packages.greeneye-monitor: 3.0.3 -> 4.0 Diff: https://github.com/jkeljo/greeneye-monitor/compare/refs/tags/v3.0.3...v4.0 Changelog: https://github.com/jkeljo/greeneye-monitor/blob/v4.0/CHANGELOG.rst --- .../greeneye-monitor/default.nix | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/greeneye-monitor/default.nix b/pkgs/development/python-modules/greeneye-monitor/default.nix index 40b1b68fef4d..d29a754aa86e 100644 --- a/pkgs/development/python-modules/greeneye-monitor/default.nix +++ b/pkgs/development/python-modules/greeneye-monitor/default.nix @@ -1,25 +1,25 @@ { lib -, buildPythonPackage -, pythonOlder -, fetchFromGitHub , aiohttp -, siobrultech-protocols +, buildPythonPackage +, fetchFromGitHub , pytestCheckHook +, pythonOlder +, siobrultech-protocols }: buildPythonPackage rec { pname = "greeneye-monitor"; - version = "3.0.3"; + version = "4.0"; - disabled = pythonOlder "3.5"; + disabled = pythonOlder "3.10"; format = "setuptools"; src = fetchFromGitHub { owner = "jkeljo"; repo = "greeneye-monitor"; - rev = "v${version}"; - hash = "sha256-weZTOVFBlB6TxFs8pLWfyB7WD/bn3ljBjX2tVi1Zc/I="; + rev = "refs/tags/v${version}"; + hash = "sha256-kMyFerb6T5316cr4T5hSo4HcpO5Hl5l+bMor5jon9yY="; }; postPatch = '' @@ -36,12 +36,15 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "greeneye.monitor" ]; + pythonImportsCheck = [ + "greeneye.monitor" + ]; - meta = { + meta = with lib; { description = "Receive data packets from GreenEye Monitor"; homepage = "https://github.com/jkeljo/greeneye-monitor"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ dotlambda ]; + changelog = "https://github.com/jkeljo/greeneye-monitor/blob/v${version}/CHANGELOG.rst"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; }; }