1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 requests,
6}:
7
8buildPythonPackage rec {
9 pname = "tahoma-api";
10 version = "0.0.17";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "philklei";
15 repo = "tahoma-api";
16 rev = "v${version}";
17 hash = "sha256-YwOKSBlN4lNyS+hfdbQDUq1gc14FBof463ofxtUVLC4=";
18 };
19
20 propagatedBuildInputs = [ requests ];
21
22 # Project has no tests
23 doCheck = false;
24 pythonImportsCheck = [ "tahoma_api" ];
25
26 meta = with lib; {
27 description = "Python module to interface with Tahoma REST API";
28 homepage = "https://github.com/philklei/tahoma-api/";
29 license = with licenses; [ asl20 ];
30 maintainers = with maintainers; [ fab ];
31 };
32}