Commit Graph

11 Commits

Author SHA1 Message Date
Bjørn Forsman
eb602b02de 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
2023-11-25 22:10:24 +01:00
Nikola Knezevic
0278e1e297 ngrep: Make available on darwin
ngrep works on macos/Darwin without problems. The official page even
states that:

```
Confirmed Working Platforms

 Linux 2.0+ (RH6+, SuSE, TurboLinux, Debian, Gentoo, Ubuntu, Mandrake, Slackware)/x86, RedHat/alpha Cobalt, (Qube2) Linux/MIPS
 Solaris 2.5.1, 2.6/SPARC, Solaris 7, Solaris 8/SPARC, Solaris 9/SPARC
 FreeBSD 2.2.5, 3.1, 3.2, 3.4-RC, 3.4-RELEASE, 4.0, 5.0
 OpenBSD 2.4 (after upgrading pcap from 0.2), 2.9, 3.0, 3.1+
 NetBSD 1.5/SPARC
 Digital Unix V4.0D (OSF/1), Tru64 5.0, Tru64 5.1A
 HPUX 11
 IRIX
 AIX 4.3.3.0/PowerPC
 BeOS R5
 Mac OS X 10+
 GNU HURD
 Windows 95, 98, NT, 2000, XP, 2003/x86, 7, 8, 8.1, 10
```
2021-11-05 10:08:50 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Piotr Bogdan
20738d8b81 ngrep: switch to default make 2018-11-15 17:26:06 +00:00
Franz Pletz
0deb24d8d9
ngrep: 1.45 -> 1.47 2018-01-28 19:02:09 +01:00
Franz Pletz
dabedc40a9
ngrep: fix build due to new libpcap, use debian patches 2017-01-22 14:09:50 +01:00
Vladimír Čunát
edee502f81 ngrep: fix build by using make-3
/cc maintainer @bjornfor.
2015-04-01 08:41:45 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Bjørn Forsman
4db6bcf209 ngrep: new package
ngrep is a command-line network packet analyzer.

http://ngrep.sourceforge.net/
2014-01-03 16:49:23 +01:00