Merge pull request #62974 from peterhoeg/f/zmtrigger
zoneminder: add perlPackages.DeviceSerialPort for zmtrigger.pl
This commit is contained in:
commit
f729a79eae
3 changed files with 17 additions and 2 deletions
|
@ -200,7 +200,10 @@ in {
|
|||
"zoneminder/80-nixos.conf".source = configFile;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [ cfg.port ];
|
||||
networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [
|
||||
cfg.port
|
||||
6802 # zmtrigger
|
||||
];
|
||||
|
||||
services = {
|
||||
fcgiwrap = lib.mkIf useNginx {
|
||||
|
|
|
@ -146,7 +146,7 @@ in stdenv.mkDerivation rec {
|
|||
# build-time dependencies
|
||||
DateManip DBI DBDmysql LWP SysMmap
|
||||
# run-time dependencies not checked at build-time
|
||||
ClassStdFast DataDump JSONMaybeXS LWPProtocolHttps NumberBytesHuman SysCPU SysMemInfo TimeDate
|
||||
ClassStdFast DataDump DeviceSerialPort JSONMaybeXS LWPProtocolHttps NumberBytesHuman SysCPU SysMemInfo TimeDate
|
||||
]);
|
||||
|
||||
nativeBuildInputs = [ cmake makeWrapper pkgconfig ];
|
||||
|
|
|
@ -15004,6 +15004,18 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
DeviceSerialPort = buildPerlPackage rec {
|
||||
name = "Device-SerialPort-1.04";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/C/CO/COOK/${name}.tar.gz";
|
||||
sha256 = "1mz9a2qzkz6fbz76wcwmp48h6ckjxpcazb70q03acklvndy5d4nk";
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
description = "Linux/POSIX emulation of Win32::SerialPort functions.";
|
||||
license = with licenses; [ artistic1 gpl1Plus ];
|
||||
};
|
||||
};
|
||||
|
||||
ServerStarter = buildPerlModule {
|
||||
pname = "Server-Starter";
|
||||
version = "0.34";
|
||||
|
|
Loading…
Reference in a new issue