Merge pull request #141060 from lukegb/keepalived

keepalived: 2.2.2 -> 2.2.4
This commit is contained in:
Luke Granger-Brown 2021-10-09 03:38:55 +01:00 committed by GitHub
commit 5735b5ebaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,25 +1,30 @@
{ lib, stdenv, fetchFromGitHub, nixosTests
, libnfnetlink, libnl, net-snmp, openssl
, pkg-config, autoreconfHook }:
, file, libmnl, libnftnl, libnl
, net-snmp, openssl, pkg-config
, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "keepalived";
version = "2.2.2";
version = "2.2.4";
src = fetchFromGitHub {
owner = "acassen";
repo = "keepalived";
rev = "v${version}";
sha256 = "sha256-qugEEbOQ4bemzelIOaNFvo3piMZpKUZGjR+4XF8aLHw=";
sha256 = "sha256-WXKu+cabMmXNHiLwXrQqS8GQHIWYkee7vPddyGURWic=";
};
buildInputs = [
libnfnetlink
file
libmnl
libnftnl
libnl
net-snmp
openssl
];
enableParallelBuilding = true;
passthru.tests.keepalived = nixosTests.keepalived;
nativeBuildInputs = [ pkg-config autoreconfHook ];
@ -32,7 +37,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://keepalived.org";
description = "Routing software written in C";
license = licenses.gpl2;
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}