1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00
sops-nix/pkgs/sops-pgp-hook-test.nix
2022-05-15 08:19:33 +02:00

11 lines
243 B
Nix

{ buildGoModule, vendorSha256 }:
buildGoModule {
name = "sops-pgp-hook-test";
src = ../.;
inherit vendorSha256;
buildPhase = ''
go test -c ./pkgs/sops-pgp-hook
install -D sops-pgp-hook.test $out/bin/sops-pgp-hook.test
'';
}