git.iko.soy/typeable/nixpkgs
on master help sign in
keepalived: 2.2.2 -> 2.2.4
e19b653Luke Granger-Brown
pkgs/tools/networking/keepalived/default.nix+11−6
@@ -1,25 +1,30 @@
1{ lib, stdenv, fetchFromGitHub, nixosTests
1{ lib, stdenv, fetchFromGitHub, nixosTests
2+, file, libmnl, libnftnl, libnl
2−, libnfnetlink, libnl, net-snmp, openssl
3+, net-snmp, openssl, pkg-config
3−, pkg-config, autoreconfHook }:
4+, autoreconfHook }:
4
5
5stdenv.mkDerivation rec {
6stdenv.mkDerivation rec {
6 pname = "keepalived";
7 pname = "keepalived";
7− version = "2.2.2";
8+ version = "2.2.4";
8
9
9 src = fetchFromGitHub {
10 src = fetchFromGitHub {
10 owner = "acassen";
11 owner = "acassen";
11 repo = "keepalived";
12 repo = "keepalived";
12 rev = "v${version}";
13 rev = "v${version}";
13− sha256 = "sha256-qugEEbOQ4bemzelIOaNFvo3piMZpKUZGjR+4XF8aLHw=";
14+ sha256 = "sha256-WXKu+cabMmXNHiLwXrQqS8GQHIWYkee7vPddyGURWic=";
14 };
15 };
15
16
16 buildInputs = [
17 buildInputs = [
17− libnfnetlink
18+ file
19+ libmnl
20+ libnftnl
18 libnl
21 libnl
19 net-snmp
22 net-snmp
20 openssl
23 openssl
21 ];
24 ];
22
25
26+ enableParallelBuilding = true;
27+
23 passthru.tests.keepalived = nixosTests.keepalived;
28 passthru.tests.keepalived = nixosTests.keepalived;
24
29
25 nativeBuildInputs = [ pkg-config autoreconfHook ];
30 nativeBuildInputs = [ pkg-config autoreconfHook ];
@@ -32,7 +37,7 @@ stdenv.mkDerivation rec {
32 meta = with lib; {
37 meta = with lib; {
33 homepage = "https://keepalived.org";
38 homepage = "https://keepalived.org";
34 description = "Routing software written in C";
39 description = "Routing software written in C";
35− license = licenses.gpl2;
40+ license = licenses.gpl2Plus;
36 platforms = platforms.linux;
41 platforms = platforms.linux;
37 };
42 };
38}
43}