mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
wtf: 0.11.0 -> 0.17.1
This commit is contained in:
parent
49f537ceb7
commit
50ba9f4385
1 changed files with 6 additions and 8 deletions
|
@ -1,26 +1,24 @@
|
||||||
{ buildGoModule
|
{ buildGoPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoPackage rec {
|
||||||
pname = "wtf";
|
pname = "wtf";
|
||||||
version = "0.11.0";
|
version = "0.17.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wtfutil";
|
owner = "wtfutil";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1b671jhf3xaaisgpiad5apmvwkp40qr2hm4n21m0ya7k5ckps09z";
|
sha256 = "1qiwl6z5rraspjqry8dwnx8fgl9vv70sn5kgvh8074vl651yjq8c";
|
||||||
};
|
};
|
||||||
|
|
||||||
modSha256 = "0as736nnx7ci4w9gdp27g55g6dny9bh1fryz3g89gxm2sa2nlb9l";
|
goPackagePath = "github.com/wtfutil/wtf";
|
||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=" "-X main.version=${version}" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The personal information dashboard for your terminal";
|
description = "The personal information dashboard for your terminal";
|
||||||
homepage = http://wtfutil.com/;
|
homepage = "https://wtfutil.com/";
|
||||||
license = licenses.mpl20;
|
license = licenses.mpl20;
|
||||||
maintainers = with maintainers; [ kalbasit ];
|
maintainers = with maintainers; [ kalbasit ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
|
|
Loading…
Reference in a new issue