mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
066db11215
This reverts commit4e6bf03504
, reversing changes made toafd997aab6
. Instead we propagate those frameworks from the compiler again
33 lines
942 B
Nix
33 lines
942 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";
|
|
|
|
nativeBuildInputs = [ go-bindata go-bindata-assetfs ];
|
|
|
|
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/;
|
|
};
|
|
}
|