about summary refs log tree commit diff
path: root/pkgs/servers/web-apps
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-02-03 00:39:57 +0000
committerGitHub <noreply@github.com>2021-02-03 00:39:57 +0000
commitf9141c9fc1ddd063bc0daba81b3f8e00d164bf74 (patch)
tree9c279dea7c4ecc509fd405324a94ba4c38bbf2c2 /pkgs/servers/web-apps
parent75153ede17a073f114aacbc1d15ee785eb9ea01f (diff)
parent280e24e663e9d696b1dd431bac78a91df58c59ea (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r--pkgs/servers/web-apps/galene/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/servers/web-apps/galene/default.nix b/pkgs/servers/web-apps/galene/default.nix
new file mode 100644
index 0000000000000..1c2e16f76fc64
--- /dev/null
+++ b/pkgs/servers/web-apps/galene/default.nix
@@ -0,0 +1,30 @@
+{ lib, fetchFromGitHub, buildGoModule }:
+
+buildGoModule rec {
+  pname = "galene";
+  version = "0.2";
+
+  src = fetchFromGitHub {
+    owner = "jech";
+    repo = "galene";
+    rev = "galene-${version}";
+    sha256 = "0hpgqqv8mp1d3sk7dk49m3yv0cv4afa0v3vdd4w8mdnx6pcqdgy1";
+  };
+
+  vendorSha256 = "12b7andpzsgzmd56gg4gc5ilkxvjrpwpmwbdmygfzgkd5jncmcgp";
+
+  outputs = [ "out" "static" ];
+
+  postInstall = ''
+    mkdir $static
+    cp -r ./static $static
+  '';
+
+  meta = with lib; {
+    description = "Videoconferencing server that is easy to deploy, written in Go";
+    homepage = "https://github.com/jech/galene";
+    license = licenses.mit;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ rgrunbla ];
+  };
+}