pythonPackages.abodepy: init at 1.2.0
This commit is contained in:
parent
e225634d70
commit
51623fc403
2 changed files with 28 additions and 0 deletions
26
pkgs/development/python-modules/abodepy/default.nix
Normal file
26
pkgs/development/python-modules/abodepy/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -146,6 +146,8 @@ in {
|
||||||
|
|
||||||
aafigure = callPackage ../development/python-modules/aafigure { };
|
aafigure = callPackage ../development/python-modules/aafigure { };
|
||||||
|
|
||||||
|
abodepy = callPackage ../development/python-modules/abodepy { };
|
||||||
|
|
||||||
absl-py = callPackage ../development/python-modules/absl-py { };
|
absl-py = callPackage ../development/python-modules/absl-py { };
|
||||||
|
|
||||||
accupy = callPackage ../development/python-modules/accupy { };
|
accupy = callPackage ../development/python-modules/accupy { };
|
||||||
|
|
Loading…
Reference in a new issue