My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/motionblinds/default.nix

39 lines
793 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pycryptodomex
, pythonOlder
}:
buildPythonPackage rec {
pname = "motionblinds";
version = "0.6.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "starkillerOG";
repo = "motion-blinds";
rev = "refs/tags/${version}";
sha256 = "sha256-c6+kctEB4gwLGTgTA+sUA3v9ST4dn4RFPbyaXSgGvoQ=";
};
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 ];
};
}