git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #55870 from peterhoeg/f/zm

zoneminder: add some of the missing ONVIF dependencies

commite913308b11bcc32bc33fec86b5039c881eb12757 authorPeter Hoeg <peter@hoeg.com> dateMon 18 Mar 2019, 11:29 (8 years ago) parent4c6be1ffe86416
2 files changed+19−2
pkgs/servers/zoneminder/default.nix+3−2 pkgs/top-level/perl-packages.nix+16
pkgs/servers/zoneminder/default.nix+3−2
@@ -142,9 +142,10 @@ in stdenv.mkDerivation rec {
142142 curl ffmpeg glib libjpeg libselinux libsepol mp4v2 mysql pcre perl polkit x264 zlib
143143 utillinuxMinimal # for libmount
144144 ] ++ (with perlPackages; [
145+ # build-time dependencies
145146 DateManip DBI DBDmysql LWP SysMmap
146− # runtime dependencies not checked at build-time
147− JSONMaybeXS LWPProtocolHttps NumberBytesHuman SysCPU SysMemInfo TimeDate
147+ # run-time dependencies not checked at build-time
148+ ClassStdFast DataDump JSONMaybeXS LWPProtocolHttps NumberBytesHuman SysCPU SysMemInfo TimeDate
148149 ]);
149150
150151 nativeBuildInputs = [ cmake makeWrapper pkgconfig ];
pkgs/top-level/perl-packages.nix+16
@@ -2185,6 +2185,22 @@ let
21852185 };
21862186 };
21872187
2188+ ClassStdFast = buildPerlModule rec {
2189+ name = "${pname}-${version}";
2190+ pname = "Class-Std-Fast";
2191+ version = "0.0.8";
2192+ src = fetchurl {
2193+ url = "mirror://cpan/authors/id/A/AC/ACID/${pname}-v${version}.tar.gz";
2194+ sha256 = "1057rz95jsr66gam472i4zdv04v7bmzph3m3jwq1hwx3qrikgm0v";
2195+ };
2196+ propagatedBuildInputs = [ ClassStd ];
2197+ checkInputs = [ TestPod TestPodCoverage ];
2198+ meta = with stdenv.lib; {
2199+ description = "Faster but less secure than Class::Std";
2200+ license = with licenses; [ artistic1 gpl1Plus ];
2201+ };
2202+ };
2203+
21882204 ClassUnload = buildPerlPackage rec {
21892205 name = "Class-Unload-0.11";
21902206 src = fetchurl {