at 23.11-beta 733 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "tmb"; 10 version = "0.1.5"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "alemuro"; 17 repo = pname; 18 rev = version; 19 hash = "sha256-XuRhRmeTXAplb14UwISyzaqEIrFeg8/aCdMxUccMUos="; 20 }; 21 22 VERSION = version; 23 24 propagatedBuildInputs = [ 25 requests 26 ]; 27 28 pythonImportsCheck = [ 29 "tmb" 30 ]; 31 32 # Project has no tests 33 doCheck = false; 34 35 meta = with lib; { 36 description = "Python library that interacts with TMB API"; 37 homepage = "https://github.com/alemuro/tmb"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}