python312Packages.pyegps: init at 0.2.5

This commit is contained in:
Robert Schütz 2024-08-08 12:56:25 -07:00
parent a22545c55d
commit 4f44434611
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{
buildPythonPackage,
fetchFromGitHub,
lib,
pytestCheckHook,
pyusb,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "pyegps";
version = "0.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "gnumpi";
repo = "pyegps";
rev = "refs/tags/v${version}";
hash = "sha256-iixk2sFa4KAayKFmQKtPjvoIYgxCMXnfkliKhyO2ba4=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ pyusb ];
pythonImportsCheck = [ "pyegps" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/gnumpi/pyEGPS/releases/tag/v${version}";
description = "Controlling Energenie Power Strips with python";
homepage = "https://github.com/gnumpi/pyegps";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -11312,6 +11312,8 @@ self: super: with self; {
pyefergy = callPackage ../development/python-modules/pyefergy { };
pyegps = callPackage ../development/python-modules/pyegps { };
pyeight = callPackage ../development/python-modules/pyeight { };
pyelftools = callPackage ../development/python-modules/pyelftools { };