tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dhcpdump: 1.8 -> 1.9, change upstream to maintained fork
Nick Cao
2 years ago
990e8b42
ae5ea1ff
+9
-8
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
dhcpdump
default.nix
+9
-8
pkgs/tools/networking/dhcpdump/default.nix
···
1
{ lib
2
, stdenv
3
-
, fetchurl
4
, perl
5
, installShellFiles
6
, libpcap
···
8
9
stdenv.mkDerivation rec {
10
pname = "dhcpdump";
11
-
version = "1.8";
12
13
-
src = fetchurl {
14
-
url = "http://www.mavetju.org/download/dhcpdump-${version}.tar.gz";
15
-
hash = "sha256-bV65QYFi+3OLxW5MFoLOf3OS3ZblaMyZbkTCjef3cZA=";
0
0
16
};
17
18
strictDeps = true;
···
26
libpcap
27
];
28
29
-
hardeningDisable = [ "fortify" ];
30
-
31
installPhase = ''
32
runHook preBuild
33
···
39
40
meta = with lib; {
41
description = "A tool for visualization of DHCP packets as recorded and output by tcpdump to analyze DHCP server responses";
42
-
homepage = "http://www.mavetju.org/unix/dhcpdump-man.php";
0
43
platforms = platforms.linux;
44
maintainers = with maintainers; [ nickcao ];
45
license = licenses.bsd2;
···
1
{ lib
2
, stdenv
3
+
, fetchFromGitHub
4
, perl
5
, installShellFiles
6
, libpcap
···
8
9
stdenv.mkDerivation rec {
10
pname = "dhcpdump";
11
+
version = "1.9";
12
13
+
src = fetchFromGitHub {
14
+
owner = "bbonev";
15
+
repo = pname;
16
+
rev = "refs/tags/v${version}";
17
+
hash = "sha256-ck6DLsLQ00unNqPLBKkxaJLDCaPFjTFJcQjTbKSq0U8=";
18
};
19
20
strictDeps = true;
···
28
libpcap
29
];
30
0
0
31
installPhase = ''
32
runHook preBuild
33
···
39
40
meta = with lib; {
41
description = "A tool for visualization of DHCP packets as recorded and output by tcpdump to analyze DHCP server responses";
42
+
homepage = "https://github.com/bbonev/dhcpdump";
43
+
changelog = "https://github.com/bbonev/dhcpdump/releases/tag/v${version}";
44
platforms = platforms.linux;
45
maintainers = with maintainers; [ nickcao ];
46
license = licenses.bsd2;