Commit 903af7b0 authored by Peter H. Hoeg's avatar Peter H. Hoeg Committed by Matthieu Coudron
Browse files

ipset: add meta.mainProgram

parent b24b43c2
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -6,13 +6,13 @@
  libmnl,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "ipset";
  version = "7.24";

  src = fetchurl {
    url = "https://ipset.netfilter.org/${pname}-${version}.tar.bz2";
    sha256 = "sha256-++NCTf8iLBy15cNNOLZFJLIhfOgCJsFP3LsTsp6jYRI=";
    url = "https://ipset.netfilter.org/ipset-${finalAttrs.version}.tar.bz2";
    hash = "sha256-++NCTf8iLBy15cNNOLZFJLIhfOgCJsFP3LsTsp6jYRI=";
  };

  nativeBuildInputs = [ pkg-config ];
@@ -25,5 +25,6 @@ stdenv.mkDerivation rec {
    description = "Administration tool for IP sets";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    mainProgram = "ipset";
  };
}
})