a3bb8d7922
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
21 lines
539 B
Nix
21 lines
539 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pcapfix";
|
|
version = "1.1.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://f00l.de/pcapfix/pcapfix-${version}.tar.gz";
|
|
sha256 = "0m6308ka33wqs568b7cwa1f5q0bv61j2nwfizdyzrazw673lnh6d";
|
|
};
|
|
|
|
postPatch = ''sed -i "s|/usr|$out|" Makefile'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://f00l.de/pcapfix/";
|
|
description = "Repair your broken pcap and pcapng files";
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.ehmry ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|