lol
1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "pcapfix-1.1.0";
5
6 src = fetchurl {
7 url = "https://f00l.de/pcapfix/${name}.tar.gz";
8 sha256 = "025jpsqav9wg9lql7jfpd67z1113j8gzmjc5nqf5q07b01nnpfgj";
9 };
10
11 postPatch = ''sed -i "s|/usr|$out|" Makefile'';
12
13 meta = with stdenv.lib; {
14 homepage = https://f00l.de/pcapfix/;
15 description = "Repair your broken pcap and pcapng files";
16 license = licenses.gpl3;
17 maintainers = [ maintainers.ehmry ];
18 platforms = platforms.linux;
19 };
20}