Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
940 B
Nix
40 lines
940 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
makeWrapper,
|
|
git,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "mycorrhiza";
|
|
version = "1.15.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bouncepaw";
|
|
repo = "mycorrhiza";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-Cgf2YtAatfKWxhe4xAqNRB4ktsGs3ONi5XqbjcZwzTw=";
|
|
};
|
|
|
|
vendorHash = "sha256-UQT6BvJT26NViZDyh6yokgW18ptMiGCSf7CgMqtD9Oc=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/mycorrhiza \
|
|
--prefix PATH : ${lib.makeBinPath [ git ]}
|
|
'';
|
|
|
|
meta = {
|
|
description = "Filesystem and git-based wiki engine written in Go using mycomarkup as its primary markup language";
|
|
homepage = "https://github.com/bouncepaw/mycorrhiza";
|
|
license = lib.licenses.agpl3Only;
|
|
maintainers = with lib.maintainers; [ chekoopa ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "mycorrhiza";
|
|
};
|
|
})
|