1 { lib, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs, nixosTests }:
4 pname = "documize-community";
7 src = fetchFromGitHub {
11 sha256 = "sha256-Kv4BsFB08rkGRkePFIkjjuhK1TnLPS4m+PUlgKG5cTQ=";
18 nativeBuildInputs = [ go-bindata go-bindata-assetfs ];
20 # This is really weird, but they've managed to screw up
21 # their folder structure enough, you can only build by
22 # literally cding into this folder.
23 preBuild = "cd edition";
25 subPackages = [ "." ];
27 passthru.tests = { inherit (nixosTests) documize; };
30 mv $out/bin/edition $out/bin/documize
34 description = "Open source Confluence alternative for internal & external docs built with Golang + EmberJS";
35 license = licenses.agpl3Only;
37 mainProgram = "documize";
38 homepage = "https://www.documize.com/";