654e49be53
It seems as it was forgotten to add a git tag (I already reported that) and the relevant changelogs, however the website and my self-hosted instance notified about the new release. It makes sense though to update now since this release fixes the integration of `drawio` into the wiki. For the sake of completeness, all changes made since `v3.8.0` can be viewed in https://github.com/documize/community/compare/v3.8.0...30d12ba756101a3d360e874cc8fad2a53ec558ed
40 lines
1.0 KiB
Nix
40 lines
1.0 KiB
Nix
{ lib, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs, nixosTests }:
|
|
|
|
buildGoModule rec {
|
|
pname = "documize-community";
|
|
version = "3.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "documize";
|
|
repo = "community";
|
|
rev = "30d12ba756101a3d360e874cc8fad2a53ec558ed";
|
|
sha256 = "sha256-URQtOXwMavPD9/9n2YO1Z9Rg/i26gYb53OC8WEpbelk=";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
doCheck = false;
|
|
|
|
nativeBuildInputs = [ go-bindata go-bindata-assetfs ];
|
|
|
|
# This is really weird, but they've managed to screw up
|
|
# their folder structure enough, you can only build by
|
|
# literally cding into this folder.
|
|
preBuild = "cd edition";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
passthru.tests = { inherit (nixosTests) documize; };
|
|
|
|
postInstall = ''
|
|
mv $out/bin/edition $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/";
|
|
};
|
|
}
|