@@ -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 }:
5stdenv.mkDerivation rec {
6stdenv.mkDerivation rec {
6 pname = "keepalived";
7 pname = "keepalived";
7− version = "2.2.2";
8+ version = "2.2.4";
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=";
16 buildInputs = [
17 buildInputs = [
26+ enableParallelBuilding = true;
23 passthru.tests.keepalived = nixosTests.keepalived;
28 passthru.tests.keepalived = nixosTests.keepalived;
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;