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