Unverified Commit d8a74c29 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #234244 from LeSuisse/drop-sget

sget: remove package
parents bbdb8416 09a8c1d7
Loading
Loading
Loading
Loading
+0 −33
Original line number Diff line number Diff line
{ stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles }:

buildGoModule rec {
  pname = "sget";
  version = "unstable-2022-10-04";

  src = fetchFromGitHub {
    owner = "sigstore";
    repo = pname;
    rev = "d7d1e53b21ca906000e74474729854cb5ac48dbc";
    sha256 = "sha256-BgxTlLmtKqtDq3HgLoH+j0vBrpRujmL9Wr8F4d+jPi0=";
  };

  nativeBuildInputs = [ installShellFiles ];

  vendorSha256 = "sha256-KPQHS7Hfco1ljOJgStIXMaol7j4dglcr0w+6Boj7GK8=";

  ldflags = [ "-s" "-w" ];

  postInstall = ''
    installShellCompletion --cmd sget \
      --bash <($out/bin/sget completion bash) \
      --fish <($out/bin/sget completion fish) \
      --zsh <($out/bin/sget completion zsh)
  '';

  meta = with lib; {
    homepage = "https://github.com/sigstore/sget";
    description = "Command for safer, automatic verification of signatures and integration with Sigstore's binary transparency log, Rekor";
    license = licenses.asl20;
    maintainers = with maintainers; [ lesuisse ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1507,6 +1507,7 @@ mapAliases ({
  seeks = throw "seeks has been removed from nixpkgs, as it was unmaintained"; # Added 2020-06-21
  sepolgen = throw "sepolgen was merged into selinux-python"; # Added 2021-11-11
  session-desktop-appimage = session-desktop;
  sget = throw "sget has been removed from nixpkgs, as it is not supported upstream anymore see https://github.com/sigstore/sget/issues/145"; # Added 2023-05-26
  shared_mime_info = throw "'shared_mime_info' has been renamed to/replaced by 'shared-mime-info'"; # Converted to throw 2022-02-22
  inherit (libsForQt5.mauiPackages) shelf; # added 2022-05-17
  shellinabox = throw "shellinabox has been removed from nixpkgs, as it was unmaintained upstream"; # Added 2021-12-15
+0 −2
Original line number Diff line number Diff line
@@ -12248,8 +12248,6 @@ with pkgs;
  sg3_utils = callPackage ../tools/system/sg3_utils { };
  sget = callPackage ../tools/security/sget { };
  sha1collisiondetection = callPackage ../tools/security/sha1collisiondetection { };
  shadowsocks-libev = callPackage ../tools/networking/shadowsocks-libev { };