srt-xtransmit: init at 0.2.0 (#473609)
This commit is contained in:
@@ -22207,6 +22207,11 @@
|
||||
github = "randomdude16671";
|
||||
githubId = 210965013;
|
||||
};
|
||||
randomizedcoder = {
|
||||
name = "randomizedcoder";
|
||||
github = "randomizedcoder";
|
||||
githubId = 64496590;
|
||||
};
|
||||
randoneering = {
|
||||
name = "randoneering";
|
||||
email = "justin@randoneering.tech";
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
openssl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "srt-xtransmit";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxsharabayko";
|
||||
repo = "srt-xtransmit";
|
||||
tag = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-AEqVJr7TLH+MV4SntZhFFXTttnmcywda/P1EoD2px6E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DENABLE_CXX17=OFF"
|
||||
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
||||
];
|
||||
|
||||
# Upstream CMake does not install srt-xtransmit by default.
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 bin/srt-xtransmit -t $out/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "SRT xtransmit application for generating and receiving test traffic";
|
||||
homepage = "https://github.com/maxsharabayko/srt-xtransmit";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ randomizedcoder ];
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "srt-xtransmit";
|
||||
};
|
||||
}
|
||||
@@ -25,6 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
description = "Tool to measure IP bandwidth using UDP or TCP";
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ randomizedcoder ];
|
||||
|
||||
# prioritize iperf3
|
||||
priority = 10;
|
||||
|
||||
Reference in New Issue
Block a user