mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #312264 from MatthewCroughan/mc/age-plugin-fido2-hmac
age-plugin-fido2-hmac: init at 0.2.3
This commit is contained in:
commit
57c78dc471
35
pkgs/by-name/ag/age-plugin-fido2-hmac/package.nix
Normal file
35
pkgs/by-name/ag/age-plugin-fido2-hmac/package.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, libfido2
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "age-plugin-fido2-hmac";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "olastor";
|
||||
repo = "age-plugin-fido2-hmac";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-P2gNOZeuODWEb/puFe6EA1wW3pc0xgM567qe4FKbFXg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-h4/tyq9oZt41IfRJmmsLHUpJiPJ7YuFu59ccM7jHsFo=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
buildInputs = [
|
||||
libfido2
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Age plugin to encrypt files with fido2 tokens using the hmac-secret extension and non-discoverable credentials";
|
||||
homepage = "https://github.com/olastor/age-plugin-fido2-hmac/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ matthewcroughan ];
|
||||
mainProgram = "age-plugin-fido2-hmac";
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user