mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
age-plugin-1p: init at 0.1.0
This commit is contained in:
parent
5461b7fa65
commit
29078634e3
2 changed files with 41 additions and 6 deletions
33
pkgs/by-name/ag/age-plugin-1p/package.nix
Normal file
33
pkgs/by-name/ag/age-plugin-1p/package.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,12 +3,13 @@
|
||||||
buildGoModule,
|
buildGoModule,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
age-plugin-tpm,
|
age-plugin-fido2-hmac,
|
||||||
|
age-plugin-ledger,
|
||||||
age-plugin-se,
|
age-plugin-se,
|
||||||
age-plugin-sss,
|
age-plugin-sss,
|
||||||
age-plugin-ledger,
|
age-plugin-tpm,
|
||||||
age-plugin-yubikey,
|
age-plugin-yubikey,
|
||||||
age-plugin-fido2-hmac,
|
age-plugin-1p,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
runCommand,
|
runCommand,
|
||||||
}:
|
}:
|
||||||
|
@ -59,12 +60,13 @@ buildGoModule (final: {
|
||||||
# group age plugins together
|
# group age plugins together
|
||||||
passthru.plugins = {
|
passthru.plugins = {
|
||||||
inherit
|
inherit
|
||||||
age-plugin-tpm
|
age-plugin-fido2-hmac
|
||||||
|
age-plugin-ledger
|
||||||
age-plugin-se
|
age-plugin-se
|
||||||
age-plugin-sss
|
age-plugin-sss
|
||||||
age-plugin-ledger
|
age-plugin-tpm
|
||||||
age-plugin-yubikey
|
age-plugin-yubikey
|
||||||
age-plugin-fido2-hmac
|
age-plugin-1p
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue