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