ngrep: make use of lib.licenses (#540728)

This commit is contained in:
Jo
2026-07-14 08:40:57 +00:00
committed by GitHub
2 changed files with 9 additions and 6 deletions
+5
View File
@@ -1173,6 +1173,11 @@ lib.mapAttrs mkLicense (
fullName = "Nethack General Public License";
};
ngrep = {
spdxId = "ngrep";
fullName = "ngrep License";
};
nistSoftware = {
spdxId = "NIST-Software";
fullName = "NIST Software License";
+4 -6
View File
@@ -47,12 +47,10 @@ stdenv.mkDerivation (finalAttrs: {
more common packet sniffing tools, such as tcpdump and snoop.
'';
homepage = "https://github.com/jpr5/ngrep/";
license = {
shortName = "ngrep"; # BSD-style, see README.md and LICENSE
url = "https://github.com/jpr5/ngrep/blob/master/LICENSE";
free = true;
redistributable = true;
};
license = lib.licenses.AND [
lib.licenses.ngrep
lib.licenses.bsd3
];
platforms = with lib.platforms; linux ++ darwin;
maintainers = [ lib.maintainers.bjornfor ];
mainProgram = "ngrep";