2023-05-09 16:12:23 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "hcledit";
|
2023-05-12 23:24:49 +00:00
|
|
|
version = "0.2.8";
|
2023-05-09 16:12:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "minamijoyo";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-05-12 23:24:49 +00:00
|
|
|
hash = "sha256-Y1v4VqbF23ah1MeBeFEjmNVfmA9DkMJZvulmy2kVdUI=";
|
2023-05-09 16:12:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-KwoauyXeDMMTUgtLvz6m28nvFSl5fptZzEvwFVC3n8g=";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A command line editor for HCL";
|
|
|
|
homepage = "https://github.com/minamijoyo/hcledit";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ aleksana ];
|
|
|
|
};
|
|
|
|
}
|