Commit 3b2c5ddf authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.ohmepy: init at 1.2.3

Module for interacting with the Ohme API

https://github.com/dan-r/ohmepy
parent b0f581ff
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };