3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/wtf/default.nix
2019-05-26 09:23:10 -07:00

29 lines
680 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "wtf";
version = "0.10.3";
src = fetchFromGitHub {
owner = "wtfutil";
repo = pname;
rev = "v${version}";
sha256 = "0ffpydxlc2c9rpr6rnlqk3ca8xc4hjl2107wzcxzx9id1hw8fb40";
};
modSha256 = "0as736nnx7ci4w9gdp27g55g6dny9bh1fryz3g89gxm2sa2nlb9l";
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;
};
}