diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/tahoma-api/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/tahoma-api/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/tahoma-api/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/tahoma-api/default.nix new file mode 100644 index 000000000000..440218223117 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/tahoma-api/default.nix @@ -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 ]; + }; +} |