at 22.05-pre 628 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "tmb"; 9 version = "0.1.1"; 10 11 src = fetchFromGitHub { 12 owner = "alemuro"; 13 repo = pname; 14 rev = version; 15 sha256 = "sha256-xwzaJuiQxExUA5W4kW7t1713S6NOvDNagcD3/dwA+DE="; 16 }; 17 18 propagatedBuildInputs = [ requests ]; 19 20 # Project has no tests 21 doCheck = false; 22 pythonImportsCheck = [ "tmb" ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/alemuro/tmb"; 26 description = "Python library that interacts with TMB API"; 27 license = with licenses; [ mit ]; 28 maintainers = with maintainers; [ fab ]; 29 }; 30}