depot/third_party/nixpkgs/pkgs/development/python-modules/python-motionmount/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

36 lines
792 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "python-motionmount";
version = "2.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "vogelsproducts";
repo = "python-MotionMount";
rev = "refs/tags/${version}";
hash = "sha256-07wTlyfUSt44dBwOXjkXADA+HDy8531KYxJAKqBWKeQ=";
};
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 ];
};
}