1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/tools/networking/pcapc/default.nix
Tobias Geerinckx-Rice 0f84673f3d
Remove nckx as a maintainer for all packages
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00

30 lines
664 B
Nix

{ stdenv, fetchFromGitHub, libpcap, cmake }:
stdenv.mkDerivation rec {
name = "pcapc-${version}";
version = "1.0.0";
src = fetchFromGitHub {
sha256 = "137crs0bb7kh9a8p9g168yj2jrp0h3j3073nwh31jy4nk0g5hlfp";
rev = "v${version}";
repo = "pcapc";
owner = "pfactum";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libpcap ];
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/pfactum/pcapc;
description = "Compile libpcap filter expressions into BPF opcodes";
license = licenses.gpl3;
platforms = platforms.linux;
};
}