2021-10-28 06:52:43 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule, icu }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "zk";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "0.13.0";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mickael-menu";
|
|
|
|
repo = "zk";
|
|
|
|
rev = "v${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
sha256 = "sha256-Q1MU2NGeVjBNnwoAWuoO18xhtt+bdQ2ms37tHnW+R94=";
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
vendorHash = "sha256-11GzI3aEhKKTiULoWq9uIc66E3YCrW/HJQUYXRhCaek=";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
CGO_ENABLED = 1;
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X=main.Build=${version}" ];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
tags = [ "fts5" ];
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
maintainers = with maintainers; [ pinpox ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
description = "A zettelkasten plain text note-taking assistant";
|
|
|
|
homepage = "https://github.com/mickael-menu/zk";
|
|
|
|
};
|
|
|
|
}
|