pcapc: 2015-03.06 -> 1.0.0
This commit is contained in:
parent
61785c5531
commit
4313c44de3
1 changed files with 6 additions and 9 deletions
|
@ -1,16 +1,17 @@
|
|||
{ stdenv, fetchFromGitHub, libpcap }:
|
||||
{ stdenv, fetchFromGitHub, libpcap, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pcapc-${version}";
|
||||
version = "2015-03-06";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "02j45wmxy8qcji0giwx3364pbqb6849s8y0xfvzx40g98mssl027";
|
||||
rev = "9dddf52e65c8cff72c7c11758a951b31bf083436";
|
||||
sha256 = "137crs0bb7kh9a8p9g168yj2jrp0h3j3073nwh31jy4nk0g5hlfp";
|
||||
rev = "v${version}";
|
||||
repo = "pcapc";
|
||||
owner = "pfactum";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libpcap ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
@ -19,12 +20,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 {.,$out/share/doc/pcapc}/README.md
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (src.meta) homepage;
|
||||
homepage = "https://github.com/pfactum/pcapc";
|
||||
description = "Compile libpcap filter expressions into BPF opcodes";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
|
|
Loading…
Reference in a new issue