mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
6da91e9e4a
- use fetchFromGitHub - move build deps to nativeBuildInputs - use https for meta.homepage
25 lines
706 B
Nix
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;
|
|
};
|
|
}
|