diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/web-apps/galene/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/web-apps/galene/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/web-apps/galene/default.nix b/nixpkgs/pkgs/servers/web-apps/galene/default.nix new file mode 100644 index 000000000000..73503242378a --- /dev/null +++ b/nixpkgs/pkgs/servers/web-apps/galene/default.nix @@ -0,0 +1,34 @@ +{ lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "galene"; + version = "0.8.1"; + + src = fetchFromGitHub { + owner = "jech"; + repo = "galene"; + rev = "galene-${version}"; + hash = "sha256-CeyxeZPvClKxjEU5GYqZzV2SCyHNAktHNQbmN9wUa+4="; + }; + + vendorHash = "sha256-NT6bNVoh26I4z/QUSJWwF5YDuzf3LUc/7OQgtslc4ME="; + + 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 erdnaxe ]; + }; +} |