2016-04-16 14:22:59 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pcapfix-1.1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://f00l.de/pcapfix/${name}.tar.gz";
|
|
|
|
sha256 = "025jpsqav9wg9lql7jfpd67z1113j8gzmjc5nqf5q07b01nnpfgj";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''sed -i "s|/usr|$out|" Makefile'';
|
|
|
|
|
2016-08-02 19:50:55 +02:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 22:03:30 +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;
|
|
|
|
};
|
|
|
|
}
|