2022-03-05 16:20:37 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "wego";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "2.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "schachmat";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-09-19 14:19:46 +00:00
|
|
|
sha256 = "sha256-YGUll0Wi/oulNMXSrSFeAVe+aGpyFeyXRZTW4ngC3Zk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "sha256-aXrXw/7ZtSZXIKDMZuWPV2zAf0e0lU0QCBhua7tHGEY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/schachmat/wego";
|
|
|
|
description = "Weather app for the terminal";
|
2022-03-05 16:20:37 +00:00
|
|
|
license = licenses.isc;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "wego";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|