2016-04-16 13:22:59 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-10-03 12:56:26 +01:00
|
|
|
name = "pcapfix-1.1.3";
|
2016-04-16 13:22:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://f00l.de/pcapfix/${name}.tar.gz";
|
2018-10-03 12:56:26 +01:00
|
|
|
sha256 = "0f9g6yh1dc7x1n28xs4lcwlk6sa3mpz0rbw0ddhajqidag2k07sr";
|
2016-04-16 13:22:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''sed -i "s|/usr|$out|" Makefile'';
|
|
|
|
|
2016-08-02 18:50:55 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://f00l.de/pcapfix/;
|
2016-08-02 18:50:55 +01:00
|
|
|
description = "Repair your broken pcap and pcapng files";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|