nixpkgs/pkgs/applications/misc/harsh/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
657 B
Nix
Raw Normal View History

2023-08-27 02:57:10 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "harsh";
2024-06-05 16:36:26 +00:00
version = "0.10.0";
2023-08-27 02:57:10 +00:00
src = fetchFromGitHub {
owner = "wakatara";
repo = pname;
rev = "v${version}";
2024-06-05 16:36:26 +00:00
hash = "sha256-SF5SvVllAXaALSasVt+wqiywYltAuzaPoc9IohwYmss=";
2023-08-27 02:57:10 +00:00
};
2024-06-05 16:36:26 +00:00
vendorHash = "sha256-4Sa8/mVD7t4uR8Wq4n+fvot7LZfraphFobrG6rteQeI=";
2023-08-27 02:57:10 +00:00
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 ];
2024-02-11 02:19:15 +00:00
mainProgram = "harsh";
2023-08-27 02:57:10 +00:00
};
}