nixpkgs/pkgs/by-name/hc/hcledit/package.nix

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

27 lines
586 B
Nix
Raw Normal View History

2023-05-09 16:12:23 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "hcledit";
2024-09-05 09:15:52 +00:00
version = "0.2.15";
2023-05-09 16:12:23 +00:00
src = fetchFromGitHub {
owner = "minamijoyo";
repo = pname;
rev = "v${version}";
2024-09-05 09:15:52 +00:00
hash = "sha256-EJSV7CsxnRCsVcqsJcImqeELdeg6Mnf7N6S9TlMbTaE=";
2023-05-09 16:12:23 +00:00
};
2024-08-03 02:22:34 +00:00
vendorHash = "sha256-G6jmdosQHBA+n7MgVAlzdSTqPYb5d+k4b4EzAI384FQ=";
2023-05-09 16:12:23 +00:00
meta = with lib; {
description = "Command line editor for HCL";
mainProgram = "hcledit";
2023-05-09 16:12:23 +00:00
homepage = "https://github.com/minamijoyo/hcledit";
license = licenses.mit;
maintainers = with maintainers; [ aleksana ];
};
}