···1+{ stdenv, lib, fetchurl, libpcap }:
2+3+stdenv.mkDerivation rec {
4+ pname = "ucarp";
5+ version = "1.5.2";
6+7+ src = fetchurl {
8+ url = "https://download.pureftpd.org/pub/ucarp/ucarp-${version}.tar.bz2";
9+ sha256 = "0qidz5sr55nxlmnl8kcbjsrff2j97b44h9l1dmhvvjl46iji7q7j";
10+ };
11+12+ buildInputs = [ libpcap ];
13+14+ meta = with lib; {
15+ description = "Userspace implementation of CARP";
16+ longDescription = ''
17+ UCARP allows a couple of hosts to share common virtual IP addresses in
18+ order to provide automatic failover. It is a portable userland
19+ implementation of the secure and patent-free Common Address Redundancy
20+ Protocol (CARP, OpenBSD's alternative to the patents-bloated VRRP).
21+22+ Warning: This package has not received any upstream updates for a long
23+ time and can be considered as unmaintained.
24+ '';
25+ license = with licenses; [ isc bsdOriginal bsd2 gpl2Plus ];
26+ maintainers = with maintainers; [ oxzi ];
27+ };
28+}