2019-07-16 03:49:38 +01:00
|
|
|
{ buildGoPackage
|
2018-11-20 22:13:22 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
2019-07-16 03:49:38 +01:00
|
|
|
buildGoPackage rec {
|
2019-05-26 17:23:10 +01:00
|
|
|
pname = "wtf";
|
2019-07-16 03:49:38 +01:00
|
|
|
version = "0.17.1";
|
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-07-16 03:49:38 +01:00
|
|
|
sha256 = "1qiwl6z5rraspjqry8dwnx8fgl9vv70sn5kgvh8074vl651yjq8c";
|
2018-11-20 22:13:22 +00:00
|
|
|
};
|
|
|
|
|
2019-07-16 03:49:38 +01:00
|
|
|
goPackagePath = "github.com/wtfutil/wtf";
|
2018-11-20 22:13:22 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The personal information dashboard for your terminal";
|
2019-07-16 03:49:38 +01:00
|
|
|
homepage = "https://wtfutil.com/";
|
2018-11-20 22:13:22 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|