504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
40 lines
881 B
Nix
40 lines
881 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pycryptodomex
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "motionblinds";
|
|
version = "0.6.19";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "starkillerOG";
|
|
repo = "motion-blinds";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-t2Y3ASGoMZKlZzbafpAjZHeWgaWS+UsvFd5wyfmJGvE=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/starkillerOG/motion-blinds/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|