python3Packages.monitorcontrol: 3.1.0 -> 4.1.1

Changed files
+11 -15
pkgs
development
python-modules
monitorcontrol
+11 -15
pkgs/development/python-modules/monitorcontrol/default.nix
···
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";
···
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 ];
};
}