mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
27 lines
588 B
Nix
27 lines
588 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "hcledit";
|
|
version = "0.2.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "minamijoyo";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-rXmbRbM6U1JtV3t8C0LlLAdYpxd4UjxrbrPVHdqiCJ8=";
|
|
};
|
|
|
|
vendorHash = "sha256-9ND/vDPDn3rn213Jn1UPMmYAkMI86gYx9QLcV/oFGh4=";
|
|
|
|
meta = with lib; {
|
|
description = "A command line editor for HCL";
|
|
mainProgram = "hcledit";
|
|
homepage = "https://github.com/minamijoyo/hcledit";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ aleksana ];
|
|
};
|
|
}
|