mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
1f9e0b76d0
Also switch to buildGoModule.
22 lines
493 B
Nix
22 lines
493 B
Nix
{ 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;
|
|
};
|
|
}
|