nixpkgs/pkgs/servers/web-apps/galene/default.nix

31 lines
725 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
2020-12-30 21:22:51 +01:00
buildGoModule rec {
pname = "galene";
2021-05-22 18:52:10 +02:00
version = "0.3.5";
2020-12-30 21:22:51 +01:00
src = fetchFromGitHub {
owner = "jech";
repo = "galene";
rev = "galene-${version}";
2021-05-22 18:52:10 +02:00
sha256 = "sha256-CqwxHLXhiBYPS+93/MycS2IR//31puhI+oSpMS/jR1s=";
2020-12-30 21:22:51 +01:00
};
2021-05-13 23:15:49 +02:00
vendorSha256 = "sha256-Vm7tTTQJyZZVbORl5ziy4GJ34kHh5dh0ojX/ZuTpshA=";
2020-12-30 21:22:51 +01:00
outputs = [ "out" "static" ];
postInstall = ''
mkdir $static
cp -r ./static $static
'';
2021-02-02 21:13:05 +01:00
meta = with lib; {
2020-12-30 21:22:51 +01:00
description = "Videoconferencing server that is easy to deploy, written in Go";
homepage = "https://github.com/jech/galene";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ rgrunbla ];
};
}