mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
27 lines
734 B
Nix
27 lines
734 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libsodium, libevent }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dnscrypt-wrapper";
|
|
version = "0.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Cofyc";
|
|
repo = "dnscrypt-wrapper";
|
|
rev = "v${version}";
|
|
sha256 = "055vxpcfg80b1456p6p0p236pwykknph9x3c9psg8ya3i8qqywkl";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
buildInputs = [ libsodium libevent ];
|
|
|
|
meta = with lib; {
|
|
description = "A tool for adding dnscrypt support to any name resolver";
|
|
homepage = "https://dnscrypt.info/";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ tstrobel joachifm ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|