diff --git a/pkgs/development/python-modules/wavinsentio/default.nix b/pkgs/development/python-modules/wavinsentio/default.nix new file mode 100644 index 000000000000..21dbe7b8ae82 --- /dev/null +++ b/pkgs/development/python-modules/wavinsentio/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, requests +}: + +buildPythonPackage rec { + pname = "wavinsentio"; + version = "0.3.0"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-3mzK+YBRhLDqcEJDyMK43Le6eCH3B89unXpuu8nIe1g="; + }; + + propagatedBuildInputs = [ + requests + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "wavinsentio" + ]; + + meta = with lib; { + description = "Python module to interact with the Wavin Sentio underfloor heating system"; + homepage = "https://github.com/djerik/wavinsentio"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8410483718ad..62032ee1136a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10018,6 +10018,8 @@ in { wavefile = callPackage ../development/python-modules/wavefile { }; + wavinsentio = callPackage ../development/python-modules/wavinsentio { }; + wazeroutecalculator = callPackage ../development/python-modules/wazeroutecalculator { }; wcmatch = callPackage ../development/python-modules/wcmatch { };