1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
8 url = "https://f00l.de/pcapfix/pcapfix-${version}.tar.gz";
9 sha256 = "sha256-bL6/b5npdrGrdok5JK65DNh8MWUILRUmTBkz8POz4Ow=";
12 postPatch = ''sed -i "s|/usr|$out|" Makefile'';
15 homepage = "https://f00l.de/pcapfix/";
16 description = "Repair your broken pcap and pcapng files";
17 license = licenses.gpl3;
18 maintainers = [ maintainers.ehmry ];
19 platforms = platforms.all;