diff --git a/lib/licenses/licenses.nix b/lib/licenses/licenses.nix index 0bf1ff573bf8..faaf92e6a68e 100644 --- a/lib/licenses/licenses.nix +++ b/lib/licenses/licenses.nix @@ -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"; diff --git a/pkgs/by-name/ng/ngrep/package.nix b/pkgs/by-name/ng/ngrep/package.nix index f0968740595b..0ea285cab87b 100644 --- a/pkgs/by-name/ng/ngrep/package.nix +++ b/pkgs/by-name/ng/ngrep/package.nix @@ -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";