python3Packages.waterfurnace: init at 1.1.0

This commit is contained in:
Fabian Affolter 2021-01-14 19:02:47 +01:00
parent 8fcb5db84c
commit 3a072e45b9
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, click
, fetchFromGitHub
, mock
, pytest-runner
, pytestCheckHook
, requests
, websocket_client
}:
buildPythonPackage rec {
pname = "waterfurnace";
version = "1.1.0";
src = fetchFromGitHub {
owner = "sdague";
repo = pname;
rev = "v${version}";
sha256 = "1ba247fw1fvi7zy31zj2wbjq7fajrbxhp139cl9jj67rfvxfv8xf";
};
propagatedBuildInputs = [
click
pytest-runner
requests
websocket_client
];
checkInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "waterfurnace" ];
meta = with lib; {
description = "Python interface to waterfurnace geothermal systems";
homepage = "https://github.com/sdague/waterfurnace";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -8009,6 +8009,8 @@ in {
watchdog = callPackage ../development/python-modules/watchdog { };
waterfurnace = callPackage ../development/python-modules/waterfurnace { };
WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { };
wcwidth = callPackage ../development/python-modules/wcwidth { };