mediamtx: reformat

This commit is contained in:
Franz Pletz 2024-06-14 17:34:46 +02:00
parent c034df3196
commit 53c9ba52a6
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,8 +1,9 @@
{ lib
, fetchFromGitHub
, fetchurl
, buildGoModule
, nixosTests
{
lib,
fetchFromGitHub,
fetchurl,
buildGoModule,
nixosTests,
}:
let
@ -32,16 +33,14 @@ buildGoModule rec {
# Tests need docker
doCheck = false;
ldflags = [
"-X github.com/bluenviron/mediamtx/internal/core.version=v${version}"
];
ldflags = [ "-X github.com/bluenviron/mediamtx/internal/core.version=v${version}" ];
passthru.tests = { inherit (nixosTests) mediamtx; };
passthru.tests = {
inherit (nixosTests) mediamtx;
};
meta = with lib; {
description =
"Ready-to-use RTSP server and RTSP proxy that allows to read and publish video and audio streams"
;
description = "Ready-to-use RTSP server and RTSP proxy that allows to read and publish video and audio streams";
inherit (src.meta) homepage;
license = licenses.mit;
mainProgram = "mediamtx";