2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "galene";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.8.2";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jech";
|
|
|
|
repo = "galene";
|
|
|
|
rev = "galene-${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-536n2ZCKlWDV9MqiNBpWocwnDUFekRcN+N5DuIzq9a4=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
vendorHash = "sha256-J0pQm2TqlYwtMNuR/53SnpAwl9L9rq7FpVd3F9M0qso=";
|
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
|
|
|
};
|
|
|
|
}
|