Merge pull request #66700 from yrashk/wtf-0.19.1

wtf: 0.17.1 -> 0.19.1
This commit is contained in:
Jörg Thalheim 2019-08-16 06:53:51 +01:00 committed by GitHub
commit 94bd2a029e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,29 @@
{ buildGoPackage
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoPackage rec {
buildGoModule rec {
pname = "wtf";
version = "0.17.1";
version = "0.19.1";
src = fetchFromGitHub {
owner = "wtfutil";
repo = pname;
rev = "v${version}";
sha256 = "1qiwl6z5rraspjqry8dwnx8fgl9vv70sn5kgvh8074vl651yjq8c";
sha256 = "19qzg5blqm5p7rrnaqh4f9aj53i743mawjnd1h9lfahbgmil1d24";
};
goPackagePath = "github.com/wtfutil/wtf";
modSha256 = "1q21pc4yyiq4dihsb9n7261ssj52nnik8dq6fg4gvlnnpgcjp570";
# As per https://github.com/wtfutil/wtf/issues/501, one of the
# dependencies can't be fetched, so vendored dependencies should
# be used instead
modBuildPhase = ''
runHook preBuild
make build -mod=vendor
runHook postBuild
'';
meta = with lib; {
description = "The personal information dashboard for your terminal";