nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit dd1074cabc08bf85009ed6e0871db022027d3b5f
parent 85acd3f72dbfa7112b20c3ad9f1c646c34fcf391
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Wed, 18 Jun 2025 09:49:42 +0400

Add goto

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/goto/default.nix | 33+++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -357,6 +357,7 @@ lib.makeScope newScope ( freeopcua = callPackage ./misc/freeopcua { }; gaiagpsclient = callPackage ./misc/gaiagpsclient { }; git-tui = callPackage ./misc/git-tui { }; + goto = callPackage ./misc/goto { }; graphene = callPackage ./misc/graphene { }; heapusage = callPackage ./misc/heapusage { }; how-to-use-pvs-studio-free = callPackage ./misc/how-to-use-pvs-studio-free { }; diff --git a/pkgs/misc/goto/default.nix b/pkgs/misc/goto/default.nix @@ -0,0 +1,33 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "goto"; + version = "1.4.0"; + + src = fetchFromGitHub { + owner = "grafviktor"; + repo = "goto"; + tag = "v${version}"; + hash = "sha256-xQIsA/UC9daR1k6c3TMsWWIt3iYVeHd96OxYlFo27oI="; + }; + + vendorHash = "sha256-IiwanGg/Q28GWb7+BeHAZbhTP8ZHXiUG1XTwEu5v88w="; + + ldflags = [ + "-s" + "-w" + "-X main.buildVersion=${version}" + ]; + + meta = { + description = "A simple SSH manager"; + homepage = "https://github.com/grafviktor/goto"; + license = lib.licenses.mit; + mainProgram = "goto"; + maintainers = [ lib.maintainers.sikmir ]; + }; +}