Commit eb602b02 authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

ngrep: improve meta.license

Replace stringy license with attrset. Also update the comments, as
upstream now document the license in README.md and LICENSE.

Ref https://github.com/NixOS/nixpkgs/issues/269788
parent 4636b9f2
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -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 ];
  };