vault-bin: add passthru.tests

This commit is contained in:
Mario Rodas 2020-11-02 04:20:00 +00:00
parent 2ada9b3806
commit 8c43d7e6e7

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip }:
{ stdenv, fetchurl, unzip, nixosTests }:
let
version = "1.5.5";
@ -44,6 +44,8 @@ in stdenv.mkDerivation {
echo "complete -C $out/bin/vault vault" > $out/share/bash-completion/completions/vault
'';
passthru.tests.vault = nixosTests.vault;
meta = with stdenv.lib; {
homepage = "https://www.vaultproject.io";
description = "A tool for managing secrets, this binary includes the UI";