Unverified Commit 7c7a19cf authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

age-plugin-1p: init at 0.1.0 (#402746)

parents 3026feb5 29078634
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "age-plugin-1p";
  version = "0.1.0";

  src = fetchFromGitHub {
    owner = "Enzime";
    repo = "age-plugin-1p";
    tag = "v${version}";
    hash = "sha256-QYHHD7wOgRxRVkUOjwMz5DV8oxlb9mmb2K4HPoISguU=";
  };

  vendorHash = "sha256-WrdwhlaqciVEB2L+Dh/LEeSE7I3+PsOTW4c+0yOKzKY=";

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

  meta = with lib; {
    description = "Use SSH keys from 1Password with age";
    mainProgram = "age-plugin-1p";
    homepage = "https://github.com/Enzime/age-plugin-1p";
    license = licenses.mit;
    platforms = platforms.all;
    maintainers = with maintainers; [ Enzime ];
  };
}
+8 −6
Original line number Diff line number Diff line
@@ -3,12 +3,13 @@
  buildGoModule,
  fetchFromGitHub,
  installShellFiles,
  age-plugin-tpm,
  age-plugin-fido2-hmac,
  age-plugin-ledger,
  age-plugin-se,
  age-plugin-sss,
  age-plugin-ledger,
  age-plugin-tpm,
  age-plugin-yubikey,
  age-plugin-fido2-hmac,
  age-plugin-1p,
  makeWrapper,
  runCommand,
}:
@@ -59,12 +60,13 @@ buildGoModule (final: {
  # group age plugins together
  passthru.plugins = {
    inherit
      age-plugin-tpm
      age-plugin-fido2-hmac
      age-plugin-ledger
      age-plugin-se
      age-plugin-sss
      age-plugin-ledger
      age-plugin-tpm
      age-plugin-yubikey
      age-plugin-fido2-hmac
      age-plugin-1p
      ;
  };