pcapc: 1.0.0 -> 1.0.1

And use SPDX 3.0 license identifier
(#156066)
This commit is contained in:
Renaud 2022-01-22 12:20:39 +01:00 committed by GitHub
parent 43559d9447
commit 78681c277f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}; };
} }