diff --git a/pkgs/applications/misc/go-weather/default.nix b/pkgs/applications/misc/go-weather/default.nix new file mode 100644 index 0000000000000..596dee6a544cf --- /dev/null +++ b/pkgs/applications/misc/go-weather/default.nix @@ -0,0 +1,26 @@ +{ lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "go-weather"; + version = "0.15.7"; + + src = fetchFromGitHub { + owner = "genuinetools"; + repo = "weather"; + rev = "v${version}"; + sha256 = "sha256-FbXrCcJYXhq7A9XFIGWXxWA+wmH72mIGZGrAMnKr8/c="; + }; + + vendorSha256 = null; + + meta = with lib; { + homepage = "https://github.com/genuinetools/weather"; + description = "Weather via the command line"; + longDescription = '' + Weather via the command line. Uses the darksky.net API so it's + super accurate. Also includes any current weather alerts in the output. + ''; + license = licenses.mit; + maintainers = with maintainers; [ cafkafk ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 60b755cd537ad..504a2117ba6b7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12117,6 +12117,8 @@ with pkgs; globalprotect-openconnect = libsForQt5.callPackage ../tools/networking/globalprotect-openconnect { }; + go-weather = callPackage ../applications/misc/go-weather { }; + ding-libs = callPackage ../tools/misc/ding-libs { }; sssd = callPackage ../os-specific/linux/sssd {