zk: init at 0.7.0 (#143020)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
b1ee09404e
commit
c99277503e
2 changed files with 35 additions and 1 deletions
32
pkgs/applications/office/zk/default.nix
Normal file
32
pkgs/applications/office/zk/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule, icu }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "zk";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mickael-menu";
|
||||
repo = "zk";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-C3/V4v8lH4F3S51egEw5d51AI0n5xzBQjwhrI64FEGA=";
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
|
@ -33502,7 +33502,9 @@ with pkgs;
|
|||
|
||||
zesarux = callPackage ../misc/emulators/zesarux { };
|
||||
|
||||
zthrottle = callPackage ../tools/misc/zthrottle { };
|
||||
zk = callPackage ../applications/office/zk {};
|
||||
|
||||
zktree = callPackage ../applications/misc/zktree {};
|
||||
|
||||
zthrottle = callPackage ../tools/misc/zthrottle { };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue