mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
33 lines
724 B
Nix
33 lines
724 B
Nix
{ lib, fetchFromGitHub, buildGoModule, icu }:
|
|
|
|
buildGoModule rec {
|
|
pname = "zk";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mickael-menu";
|
|
repo = "zk";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-AXKIi70evf581lMwfbfxm8hFCzsnhKRQgnIEZQFS75A=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-m7QGv8Vx776TsN7QHXtO+yl3U1D573UMZVyg1B4UeIk=";
|
|
|
|
doCheck = false;
|
|
|
|
buildInputs = [ icu ];
|
|
|
|
CGO_ENABLED = 1;
|
|
|
|
ldflags = [ "-s" "-w" "-X=main.Build=${version}" ];
|
|
|
|
tags = [ "fts5" "icu" ];
|
|
|
|
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";
|
|
};
|
|
}
|