wander: 0.9.0 -> 0.10.1

Removed version test as I couldn't find a way to make it work with github.com/carlmjohnson/versioninfo
This commit is contained in:
R. Ryantm 2023-07-09 16:00:54 +00:00 committed by Sandro Jäckel
parent 8b92746f77
commit 0000010be9
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,19 +1,19 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, wander }: { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec { buildGoModule rec {
pname = "wander"; pname = "wander";
version = "0.9.0"; version = "0.10.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "robinovitch61"; owner = "robinovitch61";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-g9QAdwAqy3OA+nYsSpVLUPv1gn6N12339fgmYFT6Iys="; sha256 = "sha256-jg83GHNlzPPzzhrLWw686vrmLlDL5L0+OUYqMoYUiJw=";
}; };
vendorHash = "sha256-iTaZ5/0UrLJ3JE3FwQpvjKKrhqklG4n1WFTJhWfj/rI="; vendorHash = "sha256-SqDGXV8MpvEQFAkcE1NWvWjdzYsvbO5vA6k+hpY0js0=";
ldflags = [ "-s" "-w" "-X=github.com/robinovitch61/wander/cmd.Version=v${version}" ]; ldflags = [ "-s" "-w" ];
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -24,12 +24,6 @@ buildGoModule rec {
--zsh <($out/bin/wander completion zsh) --zsh <($out/bin/wander completion zsh)
''; '';
passthru.tests.version = testers.testVersion {
package = wander;
command = "wander --version";
version = "v${version}";
};
meta = with lib; { meta = with lib; {
description = "Terminal app/TUI for HashiCorp Nomad"; description = "Terminal app/TUI for HashiCorp Nomad";
license = licenses.mit; license = licenses.mit;