ipset: add meta.mainProgram
This commit is contained in:
committed by
Matthieu Coudron
parent
b24b43c2a2
commit
903af7b003
@@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user