python312Packages.pymonctl: init at 0.92

This commit is contained in:
Sigmanificient
2024-08-19 19:14:13 +02:00
parent add69bfc4e
commit 1910f6e072
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
ewmhlib,
xlib,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pymonctl";
version = "0.92";
pyproject = true;
src = fetchFromGitHub {
owner = "Kalmat";
repo = "PyMonCtl";
rev = "refs/tags/v${version}";
hash = "sha256-eFB+HqYBud836VNEA8q8o1KQKA+GHwSC0YfU1KCbDXw=";
};
build-system = [ setuptools ];
dependencies = [
ewmhlib
xlib
typing-extensions
];
# requires x session (use ewmhlib)
pythonImportsCheck = [ ];
doCheck = false;
meta = {
homepage = "https://github.com/Kalmat/PyMonCtl";
license = lib.licenses.bsd3;
description = "Cross-Platform toolkit to get info on and control monitors connected";
maintainers = with lib.maintainers; [ sigmanificient ];
};
}

View File

@@ -12383,6 +12383,8 @@ self: super: with self; {
pymodbus = callPackage ../development/python-modules/pymodbus { };
pymonctl = callPackage ../development/python-modules/pymonctl { };
pymongo = callPackage ../development/python-modules/pymongo { };
pymongo-inmemory = callPackage ../development/python-modules/pymongo-inmemory { };