depot/third_party/nixpkgs/pkgs/development/python-modules/python-motionmount/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
792 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "python-motionmount";
version = "2.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "vogelsproducts";
repo = "python-MotionMount";
rev = "refs/tags/${version}";
hash = "sha256-jmHFsJwnmdSUKz2W9pWtc9KpUAs6QWnO2V5KROwmTGs=";
};
build-system = [ setuptools ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "motionmount" ];
meta = with lib; {
description = "Module to control the TVM7675 Pro (Signature) series of MotionMount";
homepage = "https://github.com/vogelsproducts/python-MotionMount";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}