ipset: add meta.mainProgram

This commit is contained in:
Peter H. Hoeg
2025-06-17 16:19:56 +02:00
committed by Matthieu Coudron
parent b24b43c2a2
commit 903af7b003
+5 -4
View File
@@ -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";
};
}
})