nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 41 lines 839 B view raw
1{ lib 2, backoff 3, buildPythonPackage 4, fetchFromGitHub 5, requests 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "yalesmartalarmclient"; 11 version = "0.3.8"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchFromGitHub { 17 owner = "domwillcode"; 18 repo = "yale-smart-alarm-client"; 19 rev = "v${version}"; 20 sha256 = "sha256-CWL1uvmUGLaa2Ho0Ka4wTWstebhe1nQr9R821mweE60="; 21 }; 22 23 propagatedBuildInputs = [ 24 backoff 25 requests 26 ]; 27 28 # Project has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "yalesmartalarmclient" 33 ]; 34 35 meta = with lib; { 36 description = "Python module to interface with Yale Smart Alarm Systems"; 37 homepage = "https://github.com/domwillcode/yale-smart-alarm-client"; 38 license = with licenses; [ asl20 ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}