summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2021-07-28 19:10:39 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2021-07-28 19:10:39 +0200
commitbbacb162cb91188d766ab6a4a46e69856b94a6fc (patch)
treecf263ccc9c3aca3c85d95a522f4f4ec0f447ed27 /pkgs/applications/video
parent6e121833089fa77eefb6cf14f1408203d54c4e0b (diff)
downloadnixpkgs-bbacb162cb91188d766ab6a4a46e69856b94a6fc.tar
nixpkgs-bbacb162cb91188d766ab6a4a46e69856b94a6fc.tar.gz
nixpkgs-bbacb162cb91188d766ab6a4a46e69856b94a6fc.tar.bz2
nixpkgs-bbacb162cb91188d766ab6a4a46e69856b94a6fc.tar.lz
nixpkgs-bbacb162cb91188d766ab6a4a46e69856b94a6fc.tar.xz
nixpkgs-bbacb162cb91188d766ab6a4a46e69856b94a6fc.tar.zst
nixpkgs-bbacb162cb91188d766ab6a4a46e69856b94a6fc.zip
srtrelay: init at 2021-07-28
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/srtrelay/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/video/srtrelay/default.nix b/pkgs/applications/video/srtrelay/default.nix
new file mode 100644
index 00000000000..5fffdca9e38
--- /dev/null
+++ b/pkgs/applications/video/srtrelay/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildGoModule, fetchFromGitHub, srt, ffmpeg }:
+
+buildGoModule rec {
+  pname = "srtrelay-unstable";
+  version = "2021-07-28";
+
+  src = fetchFromGitHub {
+    owner = "voc";
+    repo = "srtrelay";
+    rev = "c4f02ff2e9637b01a0679b29e5a76f4521eeeef3";
+    sha256 = "06zbl97bjjyv51zp27qk37ffpbh1ylm9bsr0s5qlyd73pyavcj1g";
+  };
+
+  vendorSha256 = "1pdpb0my7gdvjjkka6jhj19b9nx575k6117hg536b106ij2n4zd2";
+
+  buildInputs = [ srt ];
+  checkInputs = [ ffmpeg ];
+
+  meta = with lib; {
+    description = "Streaming-Relay for the SRT-protocol";
+    homepage = "https://github.com/voc/srtrelay";
+    license = licenses.mit;
+    maintainers = with maintainers; [ fpletz ];
+  };
+}