about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/tahoma-api/default.nix
blob: 14989f9ac750d9546e52995ad3b76bdbf89c65df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:

buildPythonPackage rec {
  pname = "tahoma-api";
  version = "0.0.17";

  src = fetchFromGitHub {
    owner = "philklei";
    repo = pname;
    rev = "v${version}";
    hash = "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 ];
  };
}