Unverified Commit 42cfba0e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #250623 from fabaff/pyduotecno

python311Packages.pyduotecno: init at 2023.8.3
parents e209b62c c66dba33
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, wheel
}:

buildPythonPackage rec {
  pname = "pyduotecno";
  version = "2023.8.3";
  format = "pyproject";

  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "Cereal2nd";
    repo = "pyDuotecno";
    rev = "refs/tags/${version}";
    hash = "sha256-zqaW6iQe982BgxaxeeRFTJ/a2nySGoSW4sxKmNxbKQc=";
  };

  nativeBuildInputs = [
    setuptools
    wheel
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [
    "duotecno"
  ];

  meta = with lib; {
    description = "Module to interact with Duotecno IP interfaces";
    homepage = "https://github.com/Cereal2nd/pyDuotecno";
    changelog = "https://github.com/Cereal2nd/pyDuotecno/releases/tag/${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -915,7 +915,8 @@
      pdunehd
    ];
    "duotecno" = ps: with ps; [
    ]; # missing inputs: pyduotecno
      pyduotecno
    ];
    "dwd_weather_warnings" = ps: with ps; [
      dwdwfsapi
    ];
@@ -4967,6 +4968,7 @@
    "dte_energy_bridge"
    "duckdns"
    "dunehd"
    "duotecno"
    "dwd_weather_warnings"
    "eafm"
    "easyenergy"
+2 −0
Original line number Diff line number Diff line
@@ -8920,6 +8920,8 @@ self: super: with self; {

  pyduke-energy = callPackage ../development/python-modules/pyduke-energy { };

  pyduotecno = callPackage ../development/python-modules/pyduotecno { };

  pydy = callPackage ../development/python-modules/pydy { };

  pydyf = callPackage ../development/python-modules/pydyf { };