about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/wego/default.nix
blob: d446e057174d33e2e181e17a0fd170b54be314c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "wego";
  version = "2.1";

  src = fetchFromGitHub {
    owner = "schachmat";
    repo = pname;
    rev = version;
    sha256 = "sha256-lMcrFwYtlnivNjSbzyiAEAVX6ME87yB/Em8Cxb1LUS4=";
  };

  vendorSha256 = "sha256-kv8c0TZdxCIfmkgCLDiNyoGqQZEKUlrNLEbjlG9rSPs=";

  meta = with lib; {
    homepage = "https://github.com/schachmat/wego";
    description = "Weather app for the terminal";
    license = licenses.isc;
  };
}