anchor.diff:      openssl
     ];
   
  -  postPatch = ''
  -    sed -i 's,$(DESTDIR)/usr/share,$out/share,g' Makefile.in
  -
  -    sed \
  -      -e 's,GENL_LIB=.*,GENL_LIB=nl-genl-3,' \
  -      -e 's,NL3_LIB=.*,NL3_LIB=nl-3,' \
  -      -e 's,ROUTE_LIB=.*,ROUTE_LIB=nl-route-3,' \
  -      -i configure
  -  '';
  -
     configureFlags = [
       "--sysconfdir=/etc"
       "--localstatedir=/var"
       "--disable-silent-rules"
  +    "--enable-bfd"
       #"--enable-snmp"
       #"--enable-snmp-vrrp"
       #"--enable-snmp-checker"
  
positive.code: }:
  
  let
    version = "1.4.4";
  in
  stdenv.mkDerivation rec {
    name = "keepalived-${version}";
  
    src = fetchurl {
      url = "http://keepalived.org/software/${name}.tar.gz";
      multihash = "QmR5H3s5vcmqDp6jtruc1xK9eb68aqfUmF8NV5zvA86MvR";
      sha256 = "147c2b3b782223128551fd0a1564eaa30ed84a94b68c50ec5087747941314704";
    };
  
    nativeBuildInputs = [
      which
    ];
  
    buildInputs = [
      glib
  
negative.code: { stdenv
  , fetchurl
  
  , glib
  , ipset
  