Commit dd701914 authored by Thomas Gerbet's avatar Thomas Gerbet
Browse files

agebox: drop, lack of upstream maintenance

This is a follow-up to #307229.
Project does not seem to be maintained upstream anymore.
parent 4b6a0890
Loading
Loading
Loading
Loading
+0 −39
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:

buildGoModule rec {
  pname = "agebox";
  version = "0.6.1";

  src = fetchFromGitHub {
    owner = "slok";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-W6/v5BIl+k6tMan/Wdua7mHKMsq23QZN13Cy24akJr4=";
  };

  patches = [
    # Update gopkg.in/yaml.v2 to v2.2.8 to fix vulnerabilities.
    # https://github.com/slok/agebox/pull/199
    (fetchpatch {
      url = "https://github.com/slok/agebox/commit/40a515d39911f601ebe05cc914e8a02695d85dc7.patch";
      hash = "sha256-0iBI0nID12OoWqWY/8MPb3vvTUDe0JdSHu2vefix/bM=";
    })
  ];

  vendorHash = "sha256-MNAF2ExIOYPzXyGR6H7lfUEhnMDCyD7ecst5MKm7u+A=";

  ldflags = [
    "-s"
    "-w"
    "-X main.Version=${version}"
  ];

  meta = with lib; {
    homepage = "https://github.com/slok/agebox";
    changelog = "https://github.com/slok/agebox/releases/tag/v${version}";
    description = "Age based repository file encryption gitops tool";
    license = licenses.asl20;
    maintainers = with maintainers; [ lesuisse ];
    mainProgram = "agebox";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ mapAliases ({
  aether = throw "aether has been removed from nixpkgs; upstream unmaintained, security issues"; # Added 2023-10-03
  afl = throw "afl has been removed as the upstream project was archived. Consider using 'aflplusplus'"; # Added 2024-04-21
  agda-pkg = throw "agda-pkg has been removed due to being unmaintained"; # Added 2024-09-10"
  agebox = throw "agebox has been removed due to lack of upstream maintenance"; # Added 2024-07-13
  airfield = throw "airfield has been removed due to being unmaintained"; # Added 2023-05-19
  alertmanager-bot = throw "alertmanager-bot is broken and has been archived by upstream"; # Added 2023-07-28
  alsa-project = throw "alsa-project was removed and its sub-attributes were promoted to top-level."; # Added 2023-11-12
+0 −2
Original line number Diff line number Diff line
@@ -6811,8 +6811,6 @@ with pkgs;
  age = callPackage ../tools/security/age { };
  agebox = callPackage ../tools/security/agebox { };
  age-plugin-ledger = callPackage ../tools/security/age-plugin-ledger {
    inherit (darwin.apple_sdk.frameworks) AppKit;
  };