nixpkgs/pkgs/tools/networking/dnscrypt-wrapper/default.nix

27 lines
742 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libsodium, libevent }:
2015-09-10 21:55:54 +02:00
stdenv.mkDerivation rec {
name = "dnscrypt-wrapper-${version}";
version = "0.4.1";
2015-09-10 21:55:54 +02:00
src = fetchFromGitHub {
owner = "Cofyc";
repo = "dnscrypt-wrapper";
rev = "v${version}";
sha256 = "187sq99zxdfv3xhq939rybb0pps3l6wgyyvbj3zns5jr6mms64vd";
2015-09-10 21:55:54 +02:00
};
2017-08-29 21:30:55 +02:00
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ libsodium libevent ];
2015-09-10 21:55:54 +02:00
meta = with stdenv.lib; {
2015-09-10 21:55:54 +02:00
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;
2015-09-10 21:55:54 +02:00
};
}