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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
861 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
2020-12-30 20:22:51 +00:00
buildGoModule rec {
pname = "galene";
2022-10-08 07:29:10 +00:00
version = "0.6.1";
2020-12-30 20:22:51 +00:00
src = fetchFromGitHub {
owner = "jech";
repo = "galene";
rev = "galene-${version}";
2022-10-08 07:29:10 +00:00
hash = "sha256-Bnx0GqgkOHfoDYLJqVAz/tKyF+cZ0BQTRTGO2pDv7tM=";
2020-12-30 20:22:51 +00:00
};
2022-07-30 16:54:06 +00:00
vendorSha256 = "sha256-HZQeVa4UB/1jpPbfrh3XgWQe2S3qA8CM268KghgJA0w=";
ldflags = [ "-s" "-w" ];
preCheck = "export TZ=UTC";
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";
changelog = "https://github.com/jech/galene/raw/galene-${version}/CHANGES";
2020-12-30 20:22:51 +00:00
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ rgrunbla ];
};
}