From c8daad6b5932a969485dbde71f721906dadb6806 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Mon, 26 May 2025 11:16:06 -0700 Subject: [PATCH] python3Packages.monitorcontrol: 3.1.0 -> 4.1.1 --- .../python-modules/monitorcontrol/default.nix | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/monitorcontrol/default.nix b/pkgs/development/python-modules/monitorcontrol/default.nix index 0d1f27489291..cd40bac4b4e7 100644 --- a/pkgs/development/python-modules/monitorcontrol/default.nix +++ b/pkgs/development/python-modules/monitorcontrol/default.nix @@ -3,15 +3,14 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, - poetry-core, + setuptools, pyudev, pytestCheckHook, - voluptuous, }: buildPythonPackage rec { pname = "monitorcontrol"; - version = "3.1.0"; + version = "4.1.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,27 +19,24 @@ buildPythonPackage rec { owner = "newAM"; repo = "monitorcontrol"; tag = version; - hash = "sha256-fu0Lm7Tcw7TCCBDXTTY20JBAM7oeesyeHQFFILeZxX0="; + hash = "sha256-4A7Cj2PWANZOmMSB9rH++TAf6SgyQd0OFULKa4JRu0s="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ pyudev ]; + dependencies = [ pyudev ]; - nativeCheckInputs = [ - pytestCheckHook - voluptuous - ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ pname ]; - meta = with lib; { + meta = { description = "Python monitor controls using DDC-CI"; mainProgram = "monitorcontrol"; homepage = "https://github.com/newAM/monitorcontrol"; - changelog = "https://github.com/newAM/monitorcontrol/blob/v${version}/CHANGELOG.md"; - license = licenses.mit; - platforms = platforms.linux; - maintainers = with maintainers; [ newam ]; + changelog = "https://github.com/newAM/monitorcontrol/blob/${version}/CHANGELOG.md"; + license = lib.licenses.mit; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ newam ]; }; }