python3Packages.motionblinds: init at 0.5.8.2

This commit is contained in:
Fabian Affolter 2021-11-17 21:20:01 +01:00
parent 75b6455294
commit 0fda4083ea
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pycryptodomex
, pythonOlder
}:
buildPythonPackage rec {
pname = "motionblinds";
version = "0.5.8.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "starkillerOG";
repo = "motion-blinds";
rev = version;
sha256 = "6aSwUuH5IpfcuVGXWVmb0DHglsUtGh/ATOe6iih6fXk=";
};
propagatedBuildInputs = [
pycryptodomex
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"motionblinds"
];
meta = with lib; {
description = "Python library for interfacing with Motion Blinds";
homepage = "https://github.com/starkillerOG/motion-blinds";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -4866,6 +4866,8 @@ in {
mortgage = callPackage ../development/python-modules/mortgage { };
motionblinds = callPackage ../development/python-modules/motionblinds { };
motioneye-client = callPackage ../development/python-modules/motioneye-client { };
moto = callPackage ../development/python-modules/moto { };