d56f44df06
GitOrigin-RevId: bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13
39 lines
778 B
Nix
39 lines
778 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pycryptodomex
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "motionblinds";
|
|
version = "0.6.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "starkillerOG";
|
|
repo = "motion-blinds";
|
|
rev = version;
|
|
sha256 = "sha256-k0o6zGhuQPCh9bxXd7v9Hfjo1vKmf5kpw7MGJ31/1Mw=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|