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