mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 19:14:14 +00:00
28 lines
628 B
Nix
28 lines
628 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "harsh";
|
|
version = "0.10.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wakatara";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-njFKmskbOvsIqtakOEvHZS20WSQTXtk+1u6N0Av/uXI=";
|
|
};
|
|
|
|
vendorHash = "sha256-hdPkiF1HHuIl6KbilPre6tAqSnYPhYhrxBEj3Ayy2AY=";
|
|
|
|
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 = [ ];
|
|
mainProgram = "harsh";
|
|
};
|
|
}
|