Merge pull request #301935 from fabaff/python-motionmount

python312Packages.python-motionmount: init at 1.0.0
This commit is contained in:
Fabian Affolter 2024-04-06 09:33:28 +02:00 committed by GitHub
commit fe4295b9ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "python-motionmount";
version = "1.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "vogelsproducts";
repo = "python-MotionMount";
rev = "refs/tags/${version}";
hash = "sha256-GXgshCARH4VPYHIIeWXwOCRmKgCyel4ydj/oKUWuyUM=";
};
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 ];
};
}

View File

@ -3212,7 +3212,8 @@
motioneye-client
];
"motionmount" = ps: with ps; [
]; # missing inputs: python-MotionMount
python-motionmount
];
"mpd" = ps: with ps; [
mpd2
];
@ -6282,6 +6283,7 @@
"mopeka"
"motion_blinds"
"motioneye"
"motionmount"
"mqtt"
"mqtt_eventstream"
"mqtt_json"

View File

@ -9965,6 +9965,8 @@ self: super: with self; {
inherit (pkgs) memcached;
};
python-motionmount = callPackage ../development/python-modules/python-motionmount { };
python-otbr-api = callPackage ../development/python-modules/python-otbr-api { };
python-openems = callPackage ../development/python-modules/python-openems { };