blob: 9c97153d9d22dbc7d89c4ab50aeebab3d40ce701 (
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
31
32
33
34
35
36
37
38
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
pythonOlder,
}:
buildPythonPackage rec {
pname = "tmb";
version = "0.1.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "alemuro";
repo = pname;
rev = version;
hash = "sha256-XuRhRmeTXAplb14UwISyzaqEIrFeg8/aCdMxUccMUos=";
};
VERSION = version;
propagatedBuildInputs = [ requests ];
pythonImportsCheck = [ "tmb" ];
# Project has no tests
doCheck = false;
meta = with lib; {
description = "Python library that interacts with TMB API";
homepage = "https://github.com/alemuro/tmb";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|