2016-04-16 14:22:59 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-07 23:34:54 +02:00
|
|
|
name = "pcapfix-1.1.4";
|
2016-04-16 14:22:59 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://f00l.de/pcapfix/${name}.tar.gz";
|
2019-04-07 23:34:54 +02:00
|
|
|
sha256 = "0m6308ka33wqs568b7cwa1f5q0bv61j2nwfizdyzrazw673lnh6d";
|
2016-04-16 14:22:59 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''sed -i "s|/usr|$out|" Makefile'';
|
|
|
|
|
2016-08-02 19:50:55 +02:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://f00l.de/pcapfix/";
|
2016-08-02 19:50:55 +02:00
|
|
|
description = "Repair your broken pcap and pcapng files";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|