2019-07-16 04:49:38 +02:00
|
|
|
{ buildGoPackage
|
2018-11-20 23:13:22 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
2019-07-16 04:49:38 +02:00
|
|
|
buildGoPackage rec {
|
2019-05-26 18:23:10 +02:00
|
|
|
pname = "wtf";
|
2019-07-16 04:49:38 +02:00
|
|
|
version = "0.17.1";
|
2018-11-20 23:13:22 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-05-26 18:23:10 +02:00
|
|
|
owner = "wtfutil";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-07-16 04:49:38 +02:00
|
|
|
sha256 = "1qiwl6z5rraspjqry8dwnx8fgl9vv70sn5kgvh8074vl651yjq8c";
|
2018-11-20 23:13:22 +01:00
|
|
|
};
|
|
|
|
|
2019-07-16 04:49:38 +02:00
|
|
|
goPackagePath = "github.com/wtfutil/wtf";
|
2018-11-20 23:13:22 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The personal information dashboard for your terminal";
|
2019-07-16 04:49:38 +02:00
|
|
|
homepage = "https://wtfutil.com/";
|
2018-11-20 23:13:22 +01:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|