2021-02-02 20:36:03 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2020-12-30 20:22:51 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "galene";
|
2021-04-28 11:47:17 +01:00
|
|
|
version = "0.3.3";
|
2020-12-30 20:22:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jech";
|
|
|
|
repo = "galene";
|
|
|
|
rev = "galene-${version}";
|
2021-04-28 11:47:17 +01:00
|
|
|
sha256 = "sha256-8CgNMI7zOeDxrnmQNDM61Bgpw+N0sc7HR9c+YsQTO5I=";
|
2020-12-30 20:22:51 +00:00
|
|
|
};
|
|
|
|
|
2021-04-28 11:47:17 +01:00
|
|
|
vendorSha256 = "sha256-qOHuZGMr0CPwy/DuuWYCDSe24Y6ivg1uQJGXCuKGV/M=";
|
2020-12-30 20:22:51 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "static" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir $static
|
|
|
|
cp -r ./static $static
|
|
|
|
'';
|
|
|
|
|
2021-02-02 20:13:05 +00:00
|
|
|
meta = with lib; {
|
2020-12-30 20:22:51 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|