blob: a6e1909a288069bebe3e256225c10732be909855 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, fetchFromGitHub, buildGoModule, icu }:
buildGoModule rec {
pname = "zk";
version = "0.12.0";
src = fetchFromGitHub {
owner = "mickael-menu";
repo = "zk";
rev = "v${version}";
sha256 = "sha256-F56jbYVbKegy38MIaEZvmeqp++bz37wFnHswkXt45t0=";
};
vendorSha256 = "sha256-11GzI3aEhKKTiULoWq9uIc66E3YCrW/HJQUYXRhCaek=";
doCheck = false;
CGO_ENABLED = 1;
ldflags = [ "-s" "-w" "-X=main.Build=${version}" ];
tags = [ "fts5" ];
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";
};
}
|