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