From 2ff256293ae082780e6f58167267f9bc81191b00 Mon Sep 17 00:00:00 2001 From: Danny Breyfogle <27653146+dbreyfogle@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:44:17 -0700 Subject: [PATCH 1/2] maintainers: add dbreyfogle --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 10f6a88385b8b..2bc4c042ed922 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5316,6 +5316,12 @@ githubId = 175485311; name = "D. Brasher"; }; + dbreyfogle = { + email = "dnbyfg@proton.me"; + github = "dbreyfogle"; + githubId = 27653146; + name = "Danny Breyfogle"; + }; dbrgn = { email = "nix@dbrgn.ch"; github = "dbrgn"; From 845e0e72b22e1ca6b9d445605d57c80bf565307e Mon Sep 17 00:00:00 2001 From: Danny Breyfogle <27653146+dbreyfogle@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:44:48 -0700 Subject: [PATCH 2/2] hcp: init at 0.8.0 --- pkgs/by-name/hc/hcp/package.nix | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/hc/hcp/package.nix diff --git a/pkgs/by-name/hc/hcp/package.nix b/pkgs/by-name/hc/hcp/package.nix new file mode 100644 index 0000000000000..1ddfcfc85a511 --- /dev/null +++ b/pkgs/by-name/hc/hcp/package.nix @@ -0,0 +1,38 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + nix-update-script, + hcp, +}: + +buildGoModule rec { + pname = "hcp"; + version = "0.8.0"; + + src = fetchFromGitHub { + owner = "hashicorp"; + repo = "hcp"; + tag = "v${version}"; + hash = "sha256-YOOaQh1OsRn5EV9RmUdWWdHx5bMFC+a1qFzUGb6lpew="; + }; + + vendorHash = "sha256-/Nf180odZB5X3Fj4cfz0TdYEfGKtkkh4qI9eRfz+meQ="; + + preCheck = '' + export HOME=$TMPDIR + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "HashiCorp Cloud Platform CLI"; + homepage = "https://github.com/hashicorp/hcp"; + changelog = "https://github.com/hashicorp/hcp/releases/tag/v${version}"; + mainProgram = "hcp"; + license = lib.licenses.mpl20; + maintainers = with lib.maintainers; [ + dbreyfogle + ]; + }; +}