Unverified Commit 77f4f4ec authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.solarman-opendata: init at 0.0.3 (#506840)

parents fda8feb7 f434822b
Loading
Loading
Loading
Loading
+50 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  wheel,
  aiohttp,
  pytest-asyncio,
  pytest-cov-stub,
  pytest-mock,
  pytestCheckHook,
}:

buildPythonPackage (finalAttrs: {
  pname = "solarman-opendata";
  version = "0.0.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "solarmanpv";
    repo = "solarman-opendata";
    tag = "v${finalAttrs.version}";
    hash = "sha256-mLwvAs+RFaHXjOgMaIhKKTU4Dqzdu/pLtAwYc/B6oj4=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    aiohttp
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytest-cov-stub
    pytest-mock
    pytestCheckHook
  ];

  pythonImportsCheck = [ "solarman_opendata" ];

  meta = {
    description = "Asynchronous Python API for Solarman devices";
    homepage = "https://github.com/solarmanpv/solarman-opendata";
    changelog = "https://github.com/solarmanpv/solarman-opendata/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -5930,7 +5930,8 @@
      ];
    "solarman" =
      ps: with ps; [
      ]; # missing inputs: solarman-opendata
        solarman-opendata
      ];
    "solax" =
      ps: with ps; [
        solax
@@ -8227,6 +8228,7 @@
    "snooz"
    "solaredge"
    "solarlog"
    "solarman"
    "solax"
    "soma"
    "somfy_mylink"
+2 −0
Original line number Diff line number Diff line
@@ -18016,6 +18016,8 @@ self: super: with self; {
  solarlog-cli = callPackage ../development/python-modules/solarlog-cli { };
  solarman-opendata = callPackage ../development/python-modules/solarman-opendata { };
  solax = callPackage ../development/python-modules/solax { };
  solc-select = callPackage ../development/python-modules/solc-select { };