94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
30 lines
691 B
Nix
30 lines
691 B
Nix
{ lib, fetchFromGitHub, buildGoModule, icu }:
|
|
|
|
buildGoModule rec {
|
|
pname = "zk";
|
|
version = "0.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mickael-menu";
|
|
repo = "zk";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-c0Grk5Bs9MOzuvWYbp+Y6cHouljUWoM3i7vFmQRFR18=";
|
|
};
|
|
|
|
vendorHash = "sha256-23m0fHYJl3X2uHCFnMYID9umTjZvGFoOKTtRrerlWKg=";
|
|
|
|
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";
|
|
};
|
|
}
|