python3Packages.tahoma-api: init at 0.0.17

This commit is contained in:
Fabian Affolter 2021-02-20 17:29:05 +01:00
parent e59a33db58
commit d292f82726
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "tahoma-api";
version = "0.0.17";
src = fetchFromGitHub {
owner = "philklei";
repo = pname;
rev = "v${version}";
sha256 = "sha256-YwOKSBlN4lNyS+hfdbQDUq1gc14FBof463ofxtUVLC4=";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "tahoma_api" ];
meta = with lib; {
description = "Python module to interface with Tahoma REST API";
homepage = "https://github.com/philklei/tahoma-api/";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7679,6 +7679,8 @@ in {
tag-expressions = callPackage ../development/python-modules/tag-expressions { }; tag-expressions = callPackage ../development/python-modules/tag-expressions { };
tahoma-api = callPackage ../development/python-modules/tahoma-api { };
tarman = callPackage ../development/python-modules/tarman { }; tarman = callPackage ../development/python-modules/tarman { };
tasklib = callPackage ../development/python-modules/tasklib { }; tasklib = callPackage ../development/python-modules/tasklib { };