uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
40
pkgs/servers/documize-community/default.nix
Normal file
40
pkgs/servers/documize-community/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "documize-community";
|
||||
version = "3.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "documize";
|
||||
repo = "community";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Kv4BsFB08rkGRkePFIkjjuhK1TnLPS4m+PUlgKG5cTQ=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
mainProgram = "documize";
|
||||
homepage = "https://www.documize.com/";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue