From d629a3561c47d279c9ec215413bff5485434856d Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 4 Jan 2021 15:05:46 +0000 Subject: [PATCH] lightspeed-webrtc: init --- nix/pkgs/lightspeed/default.nix | 1 + nix/pkgs/lightspeed/lightspeed-webrtc/default.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 nix/pkgs/lightspeed/lightspeed-webrtc/default.nix diff --git a/nix/pkgs/lightspeed/default.nix b/nix/pkgs/lightspeed/default.nix index a21bd89eec..94df45442a 100644 --- a/nix/pkgs/lightspeed/default.nix +++ b/nix/pkgs/lightspeed/default.nix @@ -1,4 +1,5 @@ { pkgs, ... }@args: { lightspeed-ingest = pkgs.callPackage ./lightspeed-ingest { }; + lightspeed-webrtc = pkgs.callPackage ./lightspeed-webrtc { }; } diff --git a/nix/pkgs/lightspeed/lightspeed-webrtc/default.nix b/nix/pkgs/lightspeed/lightspeed-webrtc/default.nix new file mode 100644 index 0000000000..31a858800e --- /dev/null +++ b/nix/pkgs/lightspeed/lightspeed-webrtc/default.nix @@ -0,0 +1,15 @@ +{ buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "lightspeed-webrtc"; + version = "git-20210104-e868038a7ebadc85fd810e0d60602bbad8ff981e"; + + src = fetchFromGitHub { + owner = "GRVYDEV"; + repo = "Lightspeed-webrtc"; + rev = "e868038a7ebadc85fd810e0d60602bbad8ff981e"; + sha256 = "sha256:1zq6byxib2j4s1qfqc94zs8ly84879k92da5hgfymgvhxiylfx23"; + }; + + vendorSha256 = "sha256:0d0k35aib87aflf614k6znyyp3wrpm0vysx4ly26j7197nsy4irh"; +}