Merge pull request #305949 from fabaff/bngblaster-bump

bngblaster: 0.8.44 -> 0.8.47
This commit is contained in:
Fabian Affolter 2024-04-23 08:16:04 +02:00 committed by GitHub
commit 2be8a17165
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 19 deletions

View File

@ -1,29 +1,28 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, cmocka
, libdict
, ncurses
, jansson
, openssl
, libpcap
{
lib,
stdenv,
cmake,
cmocka,
fetchFromGitHub,
jansson,
libdict,
libpcap,
ncurses,
openssl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bngblaster";
version = "0.8.44";
version = "0.8.47";
src = fetchFromGitHub {
owner = "rtbrick";
repo = "bngblaster";
rev = finalAttrs.version;
hash = "sha256-kKzrXw6HQ2917RBArj2BxixXXH0mIvC4IeEU2JY4F9s=";
hash = "sha256-ad2vVBXN5hUCaFnq4WYc7UTKvyLg4HY+l+PGlc5ylmw=";
};
nativeBuildInputs = [
cmake
];
nativeBuildInputs = [ cmake ];
buildInputs = [
libdict
@ -31,9 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
jansson
openssl
cmocka
] ++ lib.optionals finalAttrs.doCheck [
libpcap
];
] ++ lib.optionals finalAttrs.doCheck [ libpcap ];
cmakeFlags = [
"-DBNGBLASTER_TESTS=${if finalAttrs.doCheck then "ON" else "OFF"}"
@ -43,9 +40,9 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
meta = with lib; {
description = "Network tester for access and routing protocols";
homepage = "https://github.com/rtbrick/bngblaster/";
changelog = "https://github.com/rtbrick/bngblaster/releases/tag/${finalAttrs.version}";
description = "network tester for access and routing protocols";
license = licenses.bsd3;
maintainers = teams.wdz.members;
badPlatforms = platforms.darwin;