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:
parent
8b92746f77
commit
0000010be9
1 changed files with 5 additions and 11 deletions
|
@ -1,19 +1,19 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, wander }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "wander";
|
||||
version = "0.9.0";
|
||||
version = "0.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "robinovitch61";
|
||||
repo = pname;
|
||||
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 ];
|
||||
|
||||
|
@ -24,12 +24,6 @@ buildGoModule rec {
|
|||
--zsh <($out/bin/wander completion zsh)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = wander;
|
||||
command = "wander --version";
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Terminal app/TUI for HashiCorp Nomad";
|
||||
license = licenses.mit;
|
||||
|
|
Loading…
Reference in a new issue