depot/third_party/nixpkgs/pkgs/development/python-modules/motionblinds/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

40 lines
909 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pycryptodomex,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "motionblinds";
version = "0.6.25";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "starkillerOG";
repo = "motion-blinds";
rev = "refs/tags/${version}";
hash = "sha256-MU+zMka8d8wocc90vdS56BMHg6Z/LAAdRetiysh9Ssc=";
};
build-system = [ setuptools ];
dependencies = [ pycryptodomex ];
# Module 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 ];
};
}