Merge pull request #119060 from fabaff/pydanfoss-air

This commit is contained in:
Sandro 2021-04-11 22:25:04 +02:00 committed by GitHub
commit 763b636e31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pydanfossair";
version = "0.1.0";
src = fetchFromGitHub {
owner = "JonasPed";
repo = "pydanfoss-air";
rev = "v${version}";
sha256 = "0950skga7x930whdn9f765x7fi8g6rr3zh99zpzaj8avjdwf096b";
};
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pydanfossair" ];
meta = with lib; {
description = "Python interface for Danfoss Air HRV systems";
homepage = "https://github.com/JonasPed/pydanfoss-air";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -147,7 +147,7 @@
"cups" = ps: with ps; [ pycups ];
"currencylayer" = ps: with ps; [ ];
"daikin" = ps: with ps; [ pydaikin ];
"danfoss_air" = ps: with ps; [ ]; # missing inputs: pydanfossair
"danfoss_air" = ps: with ps; [ pydanfossair ];
"darksky" = ps: with ps; [ python-forecastio ];
"datadog" = ps: with ps; [ datadog ];
"ddwrt" = ps: with ps; [ ];

View file

@ -5664,6 +5664,8 @@ in {
pydaikin = callPackage ../development/python-modules/pydaikin { };
pydanfossair = callPackage ../development/python-modules/pydanfossair { };
pydantic = callPackage ../development/python-modules/pydantic { };
pydash = callPackage ../development/python-modules/pydash { };