mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
Merge pull request #113797 from fabaff/tahoma-api
This commit is contained in:
commit
7866dda03a
30
pkgs/development/python-modules/tahoma-api/default.nix
Normal file
30
pkgs/development/python-modules/tahoma-api/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -815,7 +815,7 @@
|
|||
"systemmonitor" = ps: with ps; [ psutil ];
|
||||
"tado" = ps: with ps; [ python-tado ];
|
||||
"tag" = ps: with ps; [ ];
|
||||
"tahoma" = ps: with ps; [ ]; # missing inputs: tahoma-api
|
||||
"tahoma" = ps: with ps; [ tahoma-api ];
|
||||
"tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility
|
||||
"tankerkoenig" = ps: with ps; [ ]; # missing inputs: pytankerkoenig
|
||||
"tapsaff" = ps: with ps; [ ]; # missing inputs: tapsaff
|
||||
|
|
|
@ -7687,6 +7687,8 @@ in {
|
|||
|
||||
tag-expressions = callPackage ../development/python-modules/tag-expressions { };
|
||||
|
||||
tahoma-api = callPackage ../development/python-modules/tahoma-api { };
|
||||
|
||||
tarman = callPackage ../development/python-modules/tarman { };
|
||||
|
||||
tasklib = callPackage ../development/python-modules/tasklib { };
|
||||
|
|
Loading…
Reference in a new issue