forked from mirrors/nixpkgs
pcapfix: init at 1.1.0
This commit is contained in:
parent
f1675d9137
commit
3148c7e45b
19
pkgs/tools/networking/pcapfix/default.nix
Normal file
19
pkgs/tools/networking/pcapfix/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue