dnscrypt-wrapper: link NixOS test

This commit is contained in:
rnhmjoj 2023-07-28 15:55:15 +02:00
parent 0bd475c296
commit 4cd4b1b166
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -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/";