2021-10-28 06:52:43 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule, icu }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "zk";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.14.0";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mickael-menu";
|
|
|
|
repo = "zk";
|
|
|
|
rev = "v${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-c0Grk5Bs9MOzuvWYbp+Y6cHouljUWoM3i7vFmQRFR18=";
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
vendorHash = "sha256-23m0fHYJl3X2uHCFnMYID9umTjZvGFoOKTtRrerlWKg=";
|
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";
|
|
|
|
};
|
|
|
|
}
|