8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
20 lines
516 B
Nix
20 lines
516 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pcapfix-1.1.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://f00l.de/pcapfix/${name}.tar.gz";
|
|
sha256 = "0m6308ka33wqs568b7cwa1f5q0bv61j2nwfizdyzrazw673lnh6d";
|
|
};
|
|
|
|
postPatch = ''sed -i "s|/usr|$out|" Makefile'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://f00l.de/pcapfix/";
|
|
description = "Repair your broken pcap and pcapng files";
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.ehmry ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|