1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "python-motionmount"; 11 version = "2.3.1"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "vogelsproducts"; 18 repo = "python-MotionMount"; 19 tag = version; 20 hash = "sha256-cXh+7DNbwYoKp76XmzPno6dcfujZT/QUO3Ns72M4gV0="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 # Module has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "motionmount" ]; 29 30 meta = with lib; { 31 description = "Module to control the TVM7675 Pro (Signature) series of MotionMount"; 32 homepage = "https://github.com/vogelsproducts/python-MotionMount"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}