···11+{ stdenv, lib, fetchurl, libpcap }:
22+33+stdenv.mkDerivation rec {
44+ pname = "ucarp";
55+ version = "1.5.2";
66+77+ src = fetchurl {
88+ url = "https://download.pureftpd.org/pub/ucarp/ucarp-${version}.tar.bz2";
99+ sha256 = "0qidz5sr55nxlmnl8kcbjsrff2j97b44h9l1dmhvvjl46iji7q7j";
1010+ };
1111+1212+ buildInputs = [ libpcap ];
1313+1414+ meta = with lib; {
1515+ description = "Userspace implementation of CARP";
1616+ longDescription = ''
1717+ UCARP allows a couple of hosts to share common virtual IP addresses in
1818+ order to provide automatic failover. It is a portable userland
1919+ implementation of the secure and patent-free Common Address Redundancy
2020+ Protocol (CARP, OpenBSD's alternative to the patents-bloated VRRP).
2121+2222+ Warning: This package has not received any upstream updates for a long
2323+ time and can be considered as unmaintained.
2424+ '';
2525+ license = with licenses; [ isc bsdOriginal bsd2 gpl2Plus ];
2626+ maintainers = with maintainers; [ oxzi ];
2727+ };
2828+}