bec0ed753e
(#150125) Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
35 lines
862 B
Nix
35 lines
862 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "galene";
|
|
version = "0.4.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jech";
|
|
repo = "galene";
|
|
rev = "galene-${version}";
|
|
hash = "sha256-5ngX9VakQlcAVGDQ1R62oNfChGPjbu48ILFA3pBqP7k=";
|
|
};
|
|
|
|
vendorSha256 = "0rkn6lpy4n5ra1jy3m0ysdjpwh3hq2z4xwda2pzvp99sgszxl5g3";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
preCheck = "export TZ=UTC";
|
|
|
|
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";
|
|
changelog = "https://github.com/jech/galene/raw/galene-${version}/CHANGES";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ rgrunbla ];
|
|
};
|
|
}
|