nixpkgs/pkgs/tools/networking/pcapc/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

31 lines
710 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;
maintainers = with maintainers; [ nckx ];
};
}