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