nixpkgs/pkgs/tools/networking/pcapfix/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
538 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2016-04-16 12:22:59 +00:00
stdenv.mkDerivation rec {
pname = "pcapfix";
2021-12-08 15:55:52 +00:00
version = "1.1.7";
2016-04-16 12:22:59 +00:00
src = fetchurl {
url = "https://f00l.de/pcapfix/pcapfix-${version}.tar.gz";
2021-12-08 15:55:52 +00:00
sha256 = "sha256-bL6/b5npdrGrdok5JK65DNh8MWUILRUmTBkz8POz4Ow=";
2016-04-16 12:22:59 +00:00
};
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 ];
2021-03-04 08:14:45 +00:00
platforms = platforms.all;
};
}