pythonPackages.abodepy: init at 1.2.0

This commit is contained in:
Jamie Magee 2020-10-02 13:43:09 +02:00
parent e225634d70
commit 51623fc403
No known key found for this signature in database
GPG Key ID: 4429B642B1718654
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, colorlog, lomond
, requests, isPy3k, requests-mock }:
buildPythonPackage rec {
pname = "abodepy";
version = "1.2.0";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "MisterWil";
repo = pname;
rev = "v${version}";
sha256 = "0m2cm90yy7fq7yrjyd999m48gqri65ifi7f6hc0s3pv2hfj89yj0";
};
propagatedBuildInputs = [ colorlog lomond requests ];
checkInputs = [ pytestCheckHook requests-mock ];
meta = with lib; {
homepage = "https://github.com/MisterWil/abodepy";
description = "An Abode alarm Python library running on Python 3";
license = licenses.mit;
maintainers = with maintainers; [ jamiemagee ];
};
}

View File

@ -146,6 +146,8 @@ in {
aafigure = callPackage ../development/python-modules/aafigure { };
abodepy = callPackage ../development/python-modules/abodepy { };
absl-py = callPackage ../development/python-modules/absl-py { };
accupy = callPackage ../development/python-modules/accupy { };