about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2023-11-26 19:57:55 +1300
committerGitHub <noreply@github.com>2023-11-26 19:57:55 +1300
commitf0379171b281cee27833b04467c9b296bae86164 (patch)
tree6d64c8f4cfcf088c39b2bf08333b271e2191c082 /pkgs/tools
parentabbe047fb8a5a7074b6de24cced0dbdb27ea0ea8 (diff)
parenteb602b02dedd22b29c08808b405c7f158d0cb8dc (diff)
Merge pull request #269988 from bjornfor/fix-ngrep-license-type
ngrep: improve meta.license
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/ngrep/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/networking/ngrep/default.nix b/pkgs/tools/networking/ngrep/default.nix
index bee8678d1c93e..c44f6e1eb8328 100644
--- a/pkgs/tools/networking/ngrep/default.nix
+++ b/pkgs/tools/networking/ngrep/default.nix
@@ -44,10 +44,12 @@ stdenv.mkDerivation rec {
       more common packet sniffing tools, such as tcpdump and snoop.
     '';
     homepage = "https://github.com/jpr5/ngrep/";
-    # <ngrep>/doc/README.txt says that ngrep itself is licensed under a
-    # 'BSD-like' license but that the 'regex' library (in the ngrep tarball) is
-    # GPLv2.
-    license = "ngrep";  # Some custom BSD-style, see LICENSE.txt
+    license = {
+      shortName = "ngrep";  # BSD-style, see README.md and LICENSE
+      url = "https://github.com/jpr5/ngrep/blob/master/LICENSE";
+      free = true;
+      redistributable = true;
+    };
     platforms = with platforms; linux ++ darwin;
     maintainers = [ maintainers.bjornfor ];
   };