ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
39 lines
773 B
Nix
39 lines
773 B
Nix
{ 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 ];
|
|
};
|
|
}
|