1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/pcapfix/default.nix

21 lines
514 B
Nix
Raw Normal View History

2016-04-16 13:22:59 +01:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "pcapfix-1.1.3";
2016-04-16 13:22:59 +01:00
src = fetchurl {
url = "https://f00l.de/pcapfix/${name}.tar.gz";
sha256 = "0f9g6yh1dc7x1n28xs4lcwlk6sa3mpz0rbw0ddhajqidag2k07sr";
2016-04-16 13:22:59 +01:00
};
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;
};
}