Merge pull request #111543 from Mic92/sops-nix
ssh-to-pgp: init at 1.0.0
This commit is contained in:
commit
aba5be8be2
30
pkgs/tools/security/ssh-to-pgp/default.nix
Normal file
30
pkgs/tools/security/ssh-to-pgp/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, fetchFromGitHub, buildGoModule, gnupg }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ssh-to-pgp";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mic92";
|
||||
repo = "ssh-to-pgp";
|
||||
rev = version;
|
||||
sha256 = "sha256-TDrpnWAez8muysMdmKFBDZfK8CyhGn1VqHB8+zD6jSk=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-ZF/WsmqmGHZIAGTPKJ70UhtmssNhiInEZfzrKxQLw9I=";
|
||||
|
||||
checkInputs = [ gnupg ];
|
||||
checkPhase = ''
|
||||
HOME=$TMPDIR go test .
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Convert ssh private keys to PGP";
|
||||
homepage = "https://github.com/Mic92/ssh-to-pgp";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -7910,6 +7910,8 @@ in
|
||||
|
||||
ssh-chat = callPackage ../applications/networking/instant-messengers/ssh-chat { };
|
||||
|
||||
ssh-to-pgp = callPackage ../tools/security/ssh-to-pgp { };
|
||||
|
||||
suricata = callPackage ../applications/networking/ids/suricata {
|
||||
python = python3;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user