mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
python3Packages.monitorcontrol: 3.1.0 -> 4.1.1
This commit is contained in:
parent
6bfd766366
commit
c8daad6b59
1 changed files with 11 additions and 15 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue