1{ lib 2, aiohttp 3, backoff 4, buildPythonPackage 5, click 6, fetchFromGitHub 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "pyprosegur"; 12 version = "0.0.5"; 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "dgomes"; 17 repo = pname; 18 rev = version; 19 sha256 = "0bpzxm8s548fw6j36brp7bcx9481x2hrypcw3yyg4ihsjhka5qln"; 20 }; 21 22 propagatedBuildInputs = [ 23 aiohttp 24 backoff 25 click 26 ]; 27 28 # Project has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "pyprosegur" ]; 32 33 meta = with lib; { 34 description = "Python module to communicate with Prosegur Residential Alarms"; 35 homepage = "https://github.com/dgomes/pyprosegur"; 36 license = with licenses; [ mit ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}