python312Packages.ohmepy: init at 1.2.3

Module for interacting with the Ohme API

https://github.com/dan-r/ohmepy
This commit is contained in:
Fabian Affolter
2024-12-31 17:14:58 +01:00
parent b0f581ff9a
commit 3b2c5ddf97
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "ohmepy";
version = "1.2.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "dan-r";
repo = "ohmepy";
rev = "refs/tags/v${version}";
hash = "sha256-hCwaB6YXtNHCNOyjRxDSonBdTpKqX9GmLwFMvrY9UpI=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "ohme" ];
# Module has no tests
doCheck = false;
meta = {
description = "Module for interacting with the Ohme API";
homepage = "https://github.com/dan-r/ohmepy";
changelog = "https://github.com/dan-r/ohmepy/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -4879,6 +4879,8 @@ self: super: with self; {
oelint-parser = callPackage ../development/python-modules/oelint-parser { };
ohmepy = callPackage ../development/python-modules/ohmepy { };
openstep-parser = callPackage ../development/python-modules/openstep-parser { };
openstep-plist = callPackage ../development/python-modules/openstep-plist { };