forked from mirrors/nixpkgs
e7acf719b1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/a48lz2a4vrs617kqdhwdiyjwjanfg0pq-dnscrypt-wrapper-0.4.1/bin/dnscrypt-wrapper -h` got 0 exit code - ran `/nix/store/a48lz2a4vrs617kqdhwdiyjwjanfg0pq-dnscrypt-wrapper-0.4.1/bin/dnscrypt-wrapper --help` got 0 exit code - ran `/nix/store/a48lz2a4vrs617kqdhwdiyjwjanfg0pq-dnscrypt-wrapper-0.4.1/bin/dnscrypt-wrapper -v` and found version 0.4.1 - ran `/nix/store/a48lz2a4vrs617kqdhwdiyjwjanfg0pq-dnscrypt-wrapper-0.4.1/bin/dnscrypt-wrapper --version` and found version 0.4.1 - found 0.4.1 with grep in /nix/store/a48lz2a4vrs617kqdhwdiyjwjanfg0pq-dnscrypt-wrapper-0.4.1
27 lines
741 B
Nix
27 lines
741 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libsodium, libevent }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "dnscrypt-wrapper-${version}";
|
|
version = "0.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Cofyc";
|
|
repo = "dnscrypt-wrapper";
|
|
rev = "v${version}";
|
|
sha256 = "187sq99zxdfv3xhq939rybb0pps3l6wgyyvbj3zns5jr6mms64vd";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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.isc;
|
|
maintainers = with maintainers; [ tstrobel joachifm ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|