about summary refs log tree commit diff
path: root/pkgs/servers/mediamtx
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2024-06-14 17:34:46 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2024-06-14 17:34:46 +0200
commit53c9ba52a61c9f08c916fdc8b08b1471701ffbc4 (patch)
tree66609ef0d38384c656fd7cfac395b3ffbdaf67a0 /pkgs/servers/mediamtx
parentc034df3196e780d04a3b8c9b1661deeae1961b34 (diff)
mediamtx: reformat
Diffstat (limited to 'pkgs/servers/mediamtx')
-rw-r--r--pkgs/servers/mediamtx/default.nix23
1 files changed, 11 insertions, 12 deletions
diff --git a/pkgs/servers/mediamtx/default.nix b/pkgs/servers/mediamtx/default.nix
index 3a5b25b30c525..35db7a9c65688 100644
--- a/pkgs/servers/mediamtx/default.nix
+++ b/pkgs/servers/mediamtx/default.nix
@@ -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";