nixpkgs/pkgs/by-name/ha/harsh/package.nix

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

28 lines
628 B
Nix
Raw Normal View History

2023-08-27 02:57:10 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "harsh";
2024-11-20 08:51:24 +00:00
version = "0.10.4";
2023-08-27 02:57:10 +00:00
src = fetchFromGitHub {
owner = "wakatara";
repo = pname;
rev = "v${version}";
2024-11-20 08:51:24 +00:00
hash = "sha256-njFKmskbOvsIqtakOEvHZS20WSQTXtk+1u6N0Av/uXI=";
2023-08-27 02:57:10 +00:00
};
2024-11-20 08:51:24 +00:00
vendorHash = "sha256-hdPkiF1HHuIl6KbilPre6tAqSnYPhYhrxBEj3Ayy2AY=";
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 = [ ];
2024-02-11 02:19:15 +00:00
mainProgram = "harsh";
2023-08-27 02:57:10 +00:00
};
}