mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
Merge pull request #54317 from peterhoeg/p/hazm
pythonPackages.zm-py: init at 0.3.0
This commit is contained in:
commit
f4e02920e2
29
pkgs/development/python-modules/zm-py/default.nix
Normal file
29
pkgs/development/python-modules/zm-py/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||||
|
, pytest, requests }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "zm-py";
|
||||||
|
version = "0.3.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1hq83svprd21r74palhs3xq15g34135349y4lrgr7c76i3f37j2q";
|
||||||
|
};
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
PYTHONPATH="./zoneminder:$PYTHONPATH" pytest
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A loose python wrapper around the ZoneMinder REST API";
|
||||||
|
homepage = https://github.com/rohankapoorcom/zm-py;
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
|
};
|
||||||
|
}
|
@ -221,7 +221,7 @@
|
|||||||
"camera.xeoma" = ps: with ps; [ ];
|
"camera.xeoma" = ps: with ps; [ ];
|
||||||
"camera.xiaomi" = ps: with ps; [ ha-ffmpeg ];
|
"camera.xiaomi" = ps: with ps; [ ha-ffmpeg ];
|
||||||
"camera.yi" = ps: with ps; [ ha-ffmpeg ];
|
"camera.yi" = ps: with ps; [ ha-ffmpeg ];
|
||||||
"camera.zoneminder" = ps: with ps; [ ];
|
"camera.zoneminder" = ps: with ps; [ zm-py ];
|
||||||
"canary" = ps: with ps; [ ];
|
"canary" = ps: with ps; [ ];
|
||||||
"cast" = ps: with ps; [ PyChromecast ];
|
"cast" = ps: with ps; [ PyChromecast ];
|
||||||
"climate" = ps: with ps; [ ];
|
"climate" = ps: with ps; [ ];
|
||||||
@ -1222,7 +1222,7 @@
|
|||||||
"sensor.zestimate" = ps: with ps; [ xmltodict ];
|
"sensor.zestimate" = ps: with ps; [ xmltodict ];
|
||||||
"sensor.zha" = ps: with ps; [ ];
|
"sensor.zha" = ps: with ps; [ ];
|
||||||
"sensor.zigbee" = ps: with ps; [ ];
|
"sensor.zigbee" = ps: with ps; [ ];
|
||||||
"sensor.zoneminder" = ps: with ps; [ ];
|
"sensor.zoneminder" = ps: with ps; [ zm-py ];
|
||||||
"sensor.zwave" = ps: with ps; [ ];
|
"sensor.zwave" = ps: with ps; [ ];
|
||||||
"shell_command" = ps: with ps; [ ];
|
"shell_command" = ps: with ps; [ ];
|
||||||
"shiftr" = ps: with ps; [ paho-mqtt ];
|
"shiftr" = ps: with ps; [ paho-mqtt ];
|
||||||
@ -1358,7 +1358,7 @@
|
|||||||
"switch.xiaomi_miio" = ps: with ps; [ construct ];
|
"switch.xiaomi_miio" = ps: with ps; [ construct ];
|
||||||
"switch.zha" = ps: with ps; [ ];
|
"switch.zha" = ps: with ps; [ ];
|
||||||
"switch.zigbee" = ps: with ps; [ ];
|
"switch.zigbee" = ps: with ps; [ ];
|
||||||
"switch.zoneminder" = ps: with ps; [ ];
|
"switch.zoneminder" = ps: with ps; [ zm-py ];
|
||||||
"switch.zwave" = ps: with ps; [ ];
|
"switch.zwave" = ps: with ps; [ ];
|
||||||
"system_log" = ps: with ps; [ aiohttp-cors ];
|
"system_log" = ps: with ps; [ aiohttp-cors ];
|
||||||
"tado" = ps: with ps; [ ];
|
"tado" = ps: with ps; [ ];
|
||||||
@ -1468,7 +1468,7 @@
|
|||||||
"zone.config_flow" = ps: with ps; [ ];
|
"zone.config_flow" = ps: with ps; [ ];
|
||||||
"zone.const" = ps: with ps; [ ];
|
"zone.const" = ps: with ps; [ ];
|
||||||
"zone.zone" = ps: with ps; [ ];
|
"zone.zone" = ps: with ps; [ ];
|
||||||
"zoneminder" = ps: with ps; [ ];
|
"zoneminder" = ps: with ps; [ zm-py ];
|
||||||
"zwave" = ps: with ps; [ homeassistant-pyozw pydispatcher ];
|
"zwave" = ps: with ps; [ homeassistant-pyozw pydispatcher ];
|
||||||
"zwave.config_flow" = ps: with ps; [ ];
|
"zwave.config_flow" = ps: with ps; [ ];
|
||||||
"zwave.const" = ps: with ps; [ ];
|
"zwave.const" = ps: with ps; [ ];
|
||||||
|
@ -5177,6 +5177,8 @@ in {
|
|||||||
inherit python;
|
inherit python;
|
||||||
})).python;
|
})).python;
|
||||||
|
|
||||||
|
zm-py = callPackage ../development/python-modules/zm-py { };
|
||||||
|
|
||||||
rfc7464 = callPackage ../development/python-modules/rfc7464 { };
|
rfc7464 = callPackage ../development/python-modules/rfc7464 { };
|
||||||
|
|
||||||
foundationdb51 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb51; };
|
foundationdb51 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb51; };
|
||||||
|
Loading…
Reference in New Issue
Block a user