lol

monit: 5.27.2 -> 5.29.0; format

+16 -11
+16 -11
pkgs/tools/system/monit/default.nix
··· 1 - { lib, stdenv 2 - , fetchurl, bison, flex 3 , zlib 4 - , usePAM ? stdenv.hostPlatform.isLinux, pam 5 - , useSSL ? true, openssl 6 }: 7 8 stdenv.mkDerivation rec { 9 pname = "monit"; 10 - version = "5.27.2"; 11 12 src = fetchurl { 13 url = "${meta.homepage}dist/monit-${version}.tar.gz"; 14 - sha256 = "sha256-2ICceNXcHtenujKlpVxRFIVRMsxNpIBfjTqvjPRuqkw="; 15 }; 16 17 nativeBuildInputs = [ bison flex ]; ··· 22 configureFlags = [ 23 (lib.withFeature usePAM "pam") 24 ] ++ (if useSSL then [ 25 - "--with-ssl-incl-dir=${openssl.dev}/include" 26 - "--with-ssl-lib-dir=${openssl.out}/lib" 27 - ] else [ 28 - "--without-ssl" 29 ]) ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 30 # will need to check both these are true for musl 31 "libmonit_cv_setjmp_available=yes" ··· 33 ]; 34 35 meta = { 36 - homepage = "http://mmonit.com/monit/"; 37 description = "Monitoring system"; 38 license = lib.licenses.agpl3; 39 maintainers = with lib.maintainers; [ raskin wmertens ryantm ];
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , bison 5 + , flex 6 , zlib 7 + , usePAM ? stdenv.hostPlatform.isLinux 8 + , pam 9 + , useSSL ? true 10 + , openssl 11 }: 12 13 stdenv.mkDerivation rec { 14 pname = "monit"; 15 + version = "5.29.0"; 16 17 src = fetchurl { 18 url = "${meta.homepage}dist/monit-${version}.tar.gz"; 19 + sha256 = "sha256-9mXm3R8mp0tWgomah3k0Fn3islguBIZS7PA2MYR3iF8="; 20 }; 21 22 nativeBuildInputs = [ bison flex ]; ··· 27 configureFlags = [ 28 (lib.withFeature usePAM "pam") 29 ] ++ (if useSSL then [ 30 + "--with-ssl-incl-dir=${openssl.dev}/include" 31 + "--with-ssl-lib-dir=${openssl.out}/lib" 32 + ] else [ 33 + "--without-ssl" 34 ]) ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 35 # will need to check both these are true for musl 36 "libmonit_cv_setjmp_available=yes" ··· 38 ]; 39 40 meta = { 41 + homepage = "https://mmonit.com/monit/"; 42 description = "Monitoring system"; 43 license = lib.licenses.agpl3; 44 maintainers = with lib.maintainers; [ raskin wmertens ryantm ];