about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/tmb/default.nix
blob: 713cf61392857487ed61778f1a201911f205278b (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 = "tmb";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "alemuro";
    repo = pname;
    rev = version;
    sha256 = "sha256-xwzaJuiQxExUA5W4kW7t1713S6NOvDNagcD3/dwA+DE=";
  };

  propagatedBuildInputs = [ requests ];

  # Project has no tests
  doCheck = false;
  pythonImportsCheck = [ "tmb" ];

  meta = with lib; {
    homepage = "https://github.com/alemuro/tmb";
    description = "Python library that interacts with TMB API";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}