419bc0a4cd
In87a19e9048
I merged staging-next into master using the GitHub gui as intended. Inac241fb7a5
I merged master into staging-next for the next staging cycle, however, I accidentally pushed it to master. Thinking this may cause trouble, I reverted it in0be87c7979
. This was however wrong, as it "removed" master. This reverts commit0be87c7979
.
32 lines
936 B
Nix
32 lines
936 B
Nix
{ lib, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs }:
|
|
|
|
buildGoModule rec {
|
|
pname = "documize-community";
|
|
version = "3.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "documize";
|
|
repo = "community";
|
|
rev = "v${version}";
|
|
sha256 = "1pcldf9lqvpb2h2a3kr3mahj2v1jasjwrszj6czjmkyml7x2sz7c";
|
|
};
|
|
|
|
modSha256 = "1z0v7n8klaxcqv7mvzf3jzgrp78zb4yiibx899ppk6i5qnj4xiv0";
|
|
|
|
buildInputs = [ go-bindata-assetfs go-bindata ];
|
|
|
|
subPackages = [ "edition/community.go" ];
|
|
|
|
postInstall = ''
|
|
# `buildGoModule` calls `go install` (without `go build` first), so
|
|
# `-o bin/documize` doesn't work.
|
|
mv $out/bin/community $out/bin/documize
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Open source Confluence alternative for internal & external docs built with Golang + EmberJS";
|
|
license = licenses.agpl3;
|
|
maintainers = with maintainers; [ ma27 elseym ];
|
|
homepage = https://www.documize.com/;
|
|
};
|
|
}
|