forked from mirrors/nixpkgs
Merge pull request #141060 from lukegb/keepalived
keepalived: 2.2.2 -> 2.2.4
This commit is contained in:
commit
5735b5ebaa
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue