2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-04-16 13:22:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-01 19:11:18 +01:00
|
|
|
pname = "pcapfix";
|
|
|
|
version = "1.1.4";
|
2016-04-16 13:22:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-01 19:11:18 +01:00
|
|
|
url = "https://f00l.de/pcapfix/pcapfix-${version}.tar.gz";
|
2019-04-07 22:34:54 +01:00
|
|
|
sha256 = "0m6308ka33wqs568b7cwa1f5q0bv61j2nwfizdyzrazw673lnh6d";
|
2016-04-16 13:22:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''sed -i "s|/usr|$out|" Makefile'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://f00l.de/pcapfix/";
|
2016-08-02 18:50:55 +01:00
|
|
|
description = "Repair your broken pcap and pcapng files";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
2021-03-04 08:14:45 +00:00
|
|
|
platforms = platforms.all;
|
2016-08-02 18:50:55 +01:00
|
|
|
};
|
|
|
|
}
|