documize-community: fix build on darwin
This commit is contained in:
parent
5480f994e9
commit
ae47111f90
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs }:
|
{ stdenv, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "documize-community";
|
pname = "documize-community";
|
||||||
@ -15,6 +15,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ go-bindata go-bindata-assetfs ];
|
nativeBuildInputs = [ go-bindata go-bindata-assetfs ];
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
subPackages = [ "edition/community.go" ];
|
subPackages = [ "edition/community.go" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
@ -23,7 +25,7 @@ buildGoModule rec {
|
|||||||
mv $out/bin/community $out/bin/documize
|
mv $out/bin/community $out/bin/documize
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Open source Confluence alternative for internal & external docs built with Golang + EmberJS";
|
description = "Open source Confluence alternative for internal & external docs built with Golang + EmberJS";
|
||||||
license = licenses.agpl3;
|
license = licenses.agpl3;
|
||||||
maintainers = with maintainers; [ ma27 elseym ];
|
maintainers = with maintainers; [ ma27 elseym ];
|
||||||
|
@ -17713,7 +17713,9 @@ in
|
|||||||
|
|
||||||
documentation-highlighter = callPackage ../misc/documentation-highlighter { };
|
documentation-highlighter = callPackage ../misc/documentation-highlighter { };
|
||||||
|
|
||||||
documize-community = callPackage ../servers/documize-community { };
|
documize-community = callPackage ../servers/documize-community {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
doge = callPackage ../misc/doge { };
|
doge = callPackage ../misc/doge { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user