2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "galene";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.7.2";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jech";
|
|
|
|
repo = "galene";
|
|
|
|
rev = "galene-${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-9jFloYrAQXmhmRoJxGp1UUxzFEkzB32iohStbb39suU=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "sha256-+itNqxEy0S2g5UGpUIthJE2ILQzToISref/8F4zTmYg=";
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
preCheck = "export TZ=UTC";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
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";
|
2022-02-20 05:27:41 +00:00
|
|
|
changelog = "https://github.com/jech/galene/raw/galene-${version}/CHANGES";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2023-04-29 16:46:19 +00:00
|
|
|
maintainers = with maintainers; [ rgrunbla erdnaxe ];
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|