python3Packages.monitorcontrol: 3.1.0 -> 4.1.1

This commit is contained in:
Alex Martens 2025-05-26 11:16:06 -07:00
parent 6bfd766366
commit c8daad6b59

View file

@ -3,15 +3,14 @@
buildPythonPackage, buildPythonPackage,
pythonOlder, pythonOlder,
fetchFromGitHub, fetchFromGitHub,
poetry-core, setuptools,
pyudev, pyudev,
pytestCheckHook, pytestCheckHook,
voluptuous,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "monitorcontrol"; pname = "monitorcontrol";
version = "3.1.0"; version = "4.1.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -20,27 +19,24 @@ buildPythonPackage rec {
owner = "newAM"; owner = "newAM";
repo = "monitorcontrol"; repo = "monitorcontrol";
tag = version; tag = version;
hash = "sha256-fu0Lm7Tcw7TCCBDXTTY20JBAM7oeesyeHQFFILeZxX0="; hash = "sha256-4A7Cj2PWANZOmMSB9rH++TAf6SgyQd0OFULKa4JRu0s=";
}; };
nativeBuildInputs = [ poetry-core ]; build-system = [ setuptools ];
propagatedBuildInputs = [ pyudev ]; dependencies = [ pyudev ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
voluptuous
];
pythonImportsCheck = [ pname ]; pythonImportsCheck = [ pname ];
meta = with lib; { meta = {
description = "Python monitor controls using DDC-CI"; description = "Python monitor controls using DDC-CI";
mainProgram = "monitorcontrol"; mainProgram = "monitorcontrol";
homepage = "https://github.com/newAM/monitorcontrol"; homepage = "https://github.com/newAM/monitorcontrol";
changelog = "https://github.com/newAM/monitorcontrol/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/newAM/monitorcontrol/blob/${version}/CHANGELOG.md";
license = licenses.mit; license = lib.licenses.mit;
platforms = platforms.linux; platforms = lib.platforms.linux;
maintainers = with maintainers; [ newam ]; maintainers = with lib.maintainers; [ newam ];
}; };
} }