dnscrypt-wrapper: link NixOS test
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libsodium, libevent }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libsodium, libevent, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dnscrypt-wrapper";
|
||||
@@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
buildInputs = [ libsodium libevent ];
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) dnscrypt-wrapper;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool for adding dnscrypt support to any name resolver";
|
||||
homepage = "https://dnscrypt.info/";
|
||||
|
||||
Reference in New Issue
Block a user