1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/applications/misc/wtf/default.nix

29 lines
680 B
Nix
Raw Normal View History

2019-05-26 17:23:10 +01:00
{ buildGoModule
2018-11-20 22:13:22 +00:00
, fetchFromGitHub
, lib
}:
2019-05-26 17:23:10 +01:00
buildGoModule rec {
pname = "wtf";
2019-06-10 21:40:57 +01:00
version = "0.11.0";
2018-11-20 22:13:22 +00:00
src = fetchFromGitHub {
2019-05-26 17:23:10 +01:00
owner = "wtfutil";
repo = pname;
rev = "v${version}";
2019-06-10 21:40:57 +01:00
sha256 = "1b671jhf3xaaisgpiad5apmvwkp40qr2hm4n21m0ya7k5ckps09z";
2018-11-20 22:13:22 +00:00
};
2019-05-26 17:23:10 +01:00
modSha256 = "0as736nnx7ci4w9gdp27g55g6dny9bh1fryz3g89gxm2sa2nlb9l";
2018-11-20 22:13:22 +00:00
buildFlagsArray = [ "-ldflags=" "-X main.version=${version}" ];
meta = with lib; {
description = "The personal information dashboard for your terminal";
homepage = http://wtfutil.com/;
license = licenses.mpl20;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}