mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
35 lines
861 B
Nix
35 lines
861 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "galene";
|
|
version = "0.5.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jech";
|
|
repo = "galene";
|
|
rev = "galene-${version}";
|
|
hash = "sha256-J1cX8mm1yZTvsaz7DOAbmjmXkdoIrs793aDnmHm8BFk=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-HZQeVa4UB/1jpPbfrh3XgWQe2S3qA8CM268KghgJA0w=";
|
|
|
|
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 ];
|
|
};
|
|
}
|