mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
20 lines
516 B
Nix
20 lines
516 B
Nix
{ 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 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|