3
0
Fork 0
forked from mirrors/nixpkgs

pcapfix: init at 1.1.0

This commit is contained in:
Emery Hemingway 2016-04-16 14:22:59 +02:00
parent f1675d9137
commit 3148c7e45b
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ 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'';
meta = with stdenv.lib;
{ homepage = "https://f00l.de/pcapfix/";
description = "Repair your broken pcap and pcapng files";
license = licenses.gpl3;
maintainers = [ maintainers.ehmry ];
};
}

View file

@ -2783,6 +2783,8 @@ in
patchage = callPackage ../applications/audio/patchage { };
pcapfix = callPackage ../tools/networking/pcapfix { };
pbzip2 = callPackage ../tools/compression/pbzip2 { };
pciutils = callPackage ../tools/system/pciutils { };