nixpkgs/pkgs/tools/networking/dnscrypt-wrapper/default.nix
Joachim Fasting 6da91e9e4a dnscrypt-wrapper: refactorings
- use fetchFromGitHub
- move build deps to nativeBuildInputs
- use https for meta.homepage
2016-03-12 19:06:57 +01:00

25 lines
706 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libsodium, libevent }:
stdenv.mkDerivation rec {
name = "dnscrypt-wrapper-${version}";
version = "0.2";
src = fetchFromGitHub {
owner = "Cofyc";
repo = "dnscrypt-wrapper";
rev = "v${version}";
sha256 = "06m6p79y0p6f1knk40fbi7dnc5hnq066kafvrq74fxrl51nywjbg";
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ libsodium libevent ];
meta = with stdenv.lib; {
description = "A tool for adding dnscrypt support to any name resolver";
homepage = https://dnscrypt.org/;
license = licenses.gpl2;
maintainers = with maintainers; [ tstrobel joachifm ];
platforms = platforms.linux;
};
}