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

25 lines
707 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libsodium, libevent }:
2015-09-10 19:55:54 +00:00
stdenv.mkDerivation rec {
name = "dnscrypt-wrapper-${version}";
version = "0.2.2";
2015-09-10 19:55:54 +00:00
src = fetchFromGitHub {
owner = "Cofyc";
repo = "dnscrypt-wrapper";
rev = "v${version}";
sha256 = "0ip205safbpkmk1z7qf3hshqlc2q2zwhsm3i705m0y7rxc4200ms";
2015-09-10 19:55:54 +00:00
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ libsodium libevent ];
2015-09-10 19:55:54 +00:00
meta = with stdenv.lib; {
2015-09-10 19:55:54 +00: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 19:55:54 +00:00
};
}