2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "galene";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "0.4.4";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jech";
|
|
|
|
repo = "galene";
|
|
|
|
rev = "galene-${version}";
|
2022-02-20 05:27:41 +00:00
|
|
|
hash = "sha256-5ngX9VakQlcAVGDQ1R62oNfChGPjbu48ILFA3pBqP7k=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
vendorSha256 = "0rkn6lpy4n5ra1jy3m0ysdjpwh3hq2z4xwda2pzvp99sgszxl5g3";
|
|
|
|
|
|
|
|
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;
|
|
|
|
maintainers = with maintainers; [ rgrunbla ];
|
|
|
|
};
|
|
|
|
}
|