mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
commit
94bd2a029e
1 changed files with 14 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue