26 lines
630 B
Nix
26 lines
630 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "harsh";
|
|
version = "0.8.29";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wakatara";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-LftLlKevxvjxnRUMaRXnh3TXQSauvnfuX6voglwZmZE=";
|
|
};
|
|
|
|
vendorHash = "sha256-zkz7X/qj8FwtQZXGuq4Oaoe5G9a4AJE1kv3j7wwQEp4=";
|
|
|
|
meta = with lib; {
|
|
description = "CLI habit tracking for geeks";
|
|
homepage = "https://github.com/wakatara/harsh";
|
|
changelog = "https://github.com/wakatara/harsh/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ laurailway ];
|
|
};
|
|
}
|