Merge pull request #110573 from fabaff/amcrest
This commit is contained in:
commit
ef9cd0712e
43
pkgs/development/python-modules/amcrest/default.nix
Normal file
43
pkgs/development/python-modules/amcrest/default.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{ lib
|
||||||
|
, argcomplete
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, requests
|
||||||
|
, responses
|
||||||
|
, urllib3
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "amcrest";
|
||||||
|
version = "1.7.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tchellomello";
|
||||||
|
repo = "python-amcrest";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "06gbrshf6vqvq3k813d1w37k2kmps0g6msa4lp2f9xvzw3iczshy";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
argcomplete
|
||||||
|
requests
|
||||||
|
urllib3
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
responses
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "amcrest" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module for Amcrest and Dahua Cameras";
|
||||||
|
homepage = "https://github.com/tchellomello/python-amcrest";
|
||||||
|
license = with licenses; [ gpl2Only ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -27,7 +27,7 @@
|
|||||||
"amazon_polly" = ps: with ps; [ boto3 ];
|
"amazon_polly" = ps: with ps; [ boto3 ];
|
||||||
"ambiclimate" = ps: with ps; [ aiohttp-cors ambiclimate ];
|
"ambiclimate" = ps: with ps; [ aiohttp-cors ambiclimate ];
|
||||||
"ambient_station" = ps: with ps; [ ]; # missing inputs: aioambient
|
"ambient_station" = ps: with ps; [ ]; # missing inputs: aioambient
|
||||||
"amcrest" = ps: with ps; [ ha-ffmpeg ]; # missing inputs: amcrest
|
"amcrest" = ps: with ps; [ amcrest ha-ffmpeg ];
|
||||||
"ampio" = ps: with ps; [ ]; # missing inputs: asmog
|
"ampio" = ps: with ps; [ ]; # missing inputs: asmog
|
||||||
"android_ip_webcam" = ps: with ps; [ ]; # missing inputs: pydroid-ipcam
|
"android_ip_webcam" = ps: with ps; [ ]; # missing inputs: pydroid-ipcam
|
||||||
"androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ];
|
"androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ];
|
||||||
|
@ -318,6 +318,8 @@ in {
|
|||||||
|
|
||||||
ambiclimate = callPackage ../development/python-modules/ambiclimate { };
|
ambiclimate = callPackage ../development/python-modules/ambiclimate { };
|
||||||
|
|
||||||
|
amcrest = callPackage ../development/python-modules/amcrest { };
|
||||||
|
|
||||||
amply = callPackage ../development/python-modules/amply { };
|
amply = callPackage ../development/python-modules/amply { };
|
||||||
|
|
||||||
amqp = callPackage ../development/python-modules/amqp { };
|
amqp = callPackage ../development/python-modules/amqp { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user