parent
43559d9447
commit
78681c277f
@ -1,27 +1,24 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, libpcap, cmake }:
|
{ lib, stdenv, fetchFromGitLab, libpcap }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pcapc";
|
pname = "pcapc";
|
||||||
version = "1.0.0";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitLab {
|
||||||
sha256 = "137crs0bb7kh9a8p9g168yj2jrp0h3j3073nwh31jy4nk0g5hlfp";
|
owner = "post-factum";
|
||||||
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
repo = "pcapc";
|
hash = "sha256-oDg9OSvi9aQsZ2SQm02NKAcppE0w5SGZaI13gdp7gv4=";
|
||||||
owner = "pfactum";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
|
||||||
buildInputs = [ libpcap ];
|
buildInputs = [ libpcap ];
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/pfactum/pcapc";
|
homepage = "https://gitlab.com/post-factum/pcapc";
|
||||||
description = "Compile libpcap filter expressions into BPF opcodes";
|
description = "Compile libpcap filter expressions into BPF opcodes";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Only;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user