2021-03-21 05:45:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-org";
|
2023-07-04 02:38:25 +00:00
|
|
|
version = "1.7.0";
|
2021-03-21 05:45:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "niklasfasching";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-07-04 02:38:25 +00:00
|
|
|
hash = "sha256-BPCQxl0aJ9PrEC5o5dc5uBbX8eYAxqB+qMLXo1LwCoA=";
|
2021-03-21 05:45:51 +00:00
|
|
|
};
|
|
|
|
|
2023-07-04 02:38:25 +00:00
|
|
|
vendorHash = "sha256-HbNYHO+tqFEs9VXdxyA+r/7mM/p+NBn8PomT8JAyKR8=";
|
2021-03-21 05:45:51 +00:00
|
|
|
|
|
|
|
postInstallCheck = ''
|
|
|
|
$out/bin/go-org > /dev/null
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Org-mode parser and static site generator in go";
|
|
|
|
homepage = "https://niklasfasching.github.io/go-org";
|
|
|
|
license = licenses.mit;
|
2024-03-16 08:01:06 +00:00
|
|
|
maintainers = with maintainers; [ bhankas ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "go-org";
|
2021-03-21 05:45:51 +00:00
|
|
|
};
|
|
|
|
}
|