lol

mycorrhiza: Add darwin platform; modernize (#405826)

authored by

Robert Scott and committed by
GitHub
a08e33fd deb8833f

+7 -8
+7 -8
pkgs/by-name/my/mycorrhiza/package.nix
··· 1 1 { 2 - stdenv, 3 2 lib, 4 3 fetchFromGitHub, 5 4 buildGoModule, ··· 7 6 git, 8 7 }: 9 8 10 - buildGoModule rec { 9 + buildGoModule (finalAttrs: { 11 10 pname = "mycorrhiza"; 12 11 version = "1.15.1"; 13 12 14 13 src = fetchFromGitHub { 15 14 owner = "bouncepaw"; 16 15 repo = "mycorrhiza"; 17 - rev = "v${version}"; 16 + rev = "v${finalAttrs.version}"; 18 17 sha256 = "sha256-Cgf2YtAatfKWxhe4xAqNRB4ktsGs3ONi5XqbjcZwzTw="; 19 18 }; 20 19 ··· 29 28 --prefix PATH : ${lib.makeBinPath [ git ]} 30 29 ''; 31 30 32 - meta = with lib; { 31 + meta = { 33 32 description = "Filesystem and git-based wiki engine written in Go using mycomarkup as its primary markup language"; 34 33 homepage = "https://github.com/bouncepaw/mycorrhiza"; 35 - license = licenses.agpl3Only; 36 - maintainers = with maintainers; [ chekoopa ]; 37 - platforms = platforms.linux; 34 + license = lib.licenses.agpl3Only; 35 + maintainers = with lib.maintainers; [ chekoopa ]; 36 + platforms = lib.platforms.unix; 38 37 mainProgram = "mycorrhiza"; 39 38 }; 40 - } 39 + })