forked from mirrors/nixpkgs
b89ef02a95
Semi-automatic update. These checks were performed: - built on NixOS - found 1.1.1 with grep in /nix/store/bri5ks0ab6lf6plcklwlqanf271w0rlw-pcapfix-1.1.1 - found 1.1.1 in filename of file in /nix/store/bri5ks0ab6lf6plcklwlqanf271w0rlw-pcapfix-1.1.1 cc "@ehmry"
21 lines
514 B
Nix
21 lines
514 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pcapfix-1.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://f00l.de/pcapfix/${name}.tar.gz";
|
|
sha256 = "07dfgl99iv88mgpnpfcb9y7h0zjq9fcf4sp5s7d0d3d5a5sshjay";
|
|
};
|
|
|
|
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 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|