mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-03-06 16:47:41 +00:00
26 lines
558 B
Nix
26 lines
558 B
Nix
{ stdenv, lib, buildGoModule, gnupg, vendorSha256, }:
|
|
buildGoModule {
|
|
pname = "ssh-to-pgp";
|
|
version = "0.0.1";
|
|
|
|
src = ../..;
|
|
|
|
subPackages = [ "pkgs/ssh-to-pgp" ];
|
|
|
|
checkInputs = [ gnupg ];
|
|
checkPhase = ''
|
|
HOME=$TMPDIR go test ./pkgs/ssh-to-pgp
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
inherit vendorSha256;
|
|
|
|
meta = with lib; {
|
|
description = "Convert ssh public/private keys to PGP";
|
|
homepage = "https://github.com/Mic92/sops-nix";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mic92 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|