depot/third_party/nixpkgs/pkgs/development/python-modules/yalesmartalarmclient/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

35 lines
762 B
Nix

{ lib
, backoff
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "yalesmartalarmclient";
version = "0.3.5";
src = fetchFromGitHub {
owner = "domwillcode";
repo = "yale-smart-alarm-client";
rev = "v${version}";
sha256 = "11i7vh61a5xfv32zm7rkigl010wzd6snag6sf7w38256j95nnb05";
};
propagatedBuildInputs = [
backoff
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "yalesmartalarmclient" ];
meta = with lib; {
description = "Python module to interface with Yale Smart Alarm Systems";
homepage = "https://github.com/domwillcode/yale-smart-alarm-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}