mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
mediamtx: reformat
This commit is contained in:
parent
c034df3196
commit
53c9ba52a6
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user