1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/tools/networking/keepalived/default.nix
Matthew Bauer 290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00

35 lines
704 B
Nix

{ stdenv, fetchFromGitHub, libnfnetlink, libnl, net_snmp, openssl, pkgconfig }:
stdenv.mkDerivation rec {
name = "keepalived-${version}";
version = "1.4.2";
src = fetchFromGitHub {
owner = "acassen";
repo = "keepalived";
rev = "v${version}";
sha256 = "154yxs6kwpi9yc4pa45ba3z3bfwzgmmmja5nk3d9mxq6w6s1swcy";
};
buildInputs = [
libnfnetlink
libnl
net_snmp
openssl
];
nativeBuildInputs = [ pkgconfig ];
configureFlags = [
"--enable-sha1"
"--enable-snmp"
];
meta = with stdenv.lib; {
homepage = https://keepalived.org;
description = "Routing software written in C";
license = licenses.gpl2;
platforms = platforms.linux;
};
}