depot/third_party/nixpkgs/pkgs/development/python-modules/motionblinds/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

45 lines
934 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pycryptodomex
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "motionblinds";
version = "0.6.23";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "starkillerOG";
repo = "motion-blinds";
rev = "refs/tags/${version}";
hash = "sha256-f5R58p6tMVqmXAjybae8qjeNI3vxtGJ7qxZOl9H5iKw=";
};
nativeBuildInputs = [
setuptools
];
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 ];
};
}