Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
756 B
Nix
34 lines
756 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "age-plugin-sss";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "olastor";
|
|
repo = "age-plugin-sss";
|
|
tag = "v${version}";
|
|
hash = "sha256-ZcL1bty4qMWVl8zif9tAWFKZiTFklHxaAHESpapZ4WM=";
|
|
};
|
|
|
|
vendorHash = "sha256-Sr+6Tgbm7n8gQMqZng3kyzmpMgBZaIX1oEn6nV5c89U=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X main.version=v${version}"
|
|
];
|
|
|
|
meta = {
|
|
description = "Age plugin to split keys and wrap them with different recipients using Shamir's Secret Sharing";
|
|
homepage = "https://github.com/olastor/age-plugin-sss/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ arbel-arad ];
|
|
mainProgram = "age-plugin-sss";
|
|
};
|
|
}
|