2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "galene";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "0.9";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jech";
|
|
|
|
repo = "galene";
|
|
|
|
rev = "galene-${version}";
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-wklWAs5Ag9FZu85vLPNXoiS7TVQe98fLbRiMIp2OsaI=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
vendorHash = "sha256-U8DH3b2KbFQbEV+7suVsBiTA42FEl6DebH+GJDaH6aE=";
|
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
|
|
|
};
|
|
|
|
}
|