1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/tools/networking/dnscrypt-wrapper/default.nix

27 lines
739 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libsodium, libevent }:
2015-09-10 20:55:54 +01:00
stdenv.mkDerivation rec {
name = "dnscrypt-wrapper-${version}";
2017-08-29 20:30:55 +01:00
version = "0.3";
2015-09-10 20:55:54 +01:00
src = fetchFromGitHub {
owner = "Cofyc";
repo = "dnscrypt-wrapper";
rev = "v${version}";
2017-08-29 20:30:55 +01:00
sha256 = "0wnkgn0ajx1qmfyb264jvpqxlbravdcq4m485iaa3wjp82g8xlca";
2015-09-10 20:55:54 +01:00
};
2017-08-29 20:30:55 +01:00
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ libsodium libevent ];
2015-09-10 20:55:54 +01:00
meta = with stdenv.lib; {
2015-09-10 20:55:54 +01:00
description = "A tool for adding dnscrypt support to any name resolver";
homepage = https://dnscrypt.org/;
license = licenses.isc;
maintainers = with maintainers; [ tstrobel joachifm ];
platforms = platforms.linux;
2015-09-10 20:55:54 +01:00
};
}