dnscrypt-wrapper: refactorings
- use fetchFromGitHub - move build deps to nativeBuildInputs - use https for meta.homepage
This commit is contained in:
parent
93efa92367
commit
6da91e9e4a
@ -1,21 +1,24 @@
|
|||||||
{ stdenv, fetchurl, libsodium, libevent, pkgconfig, autoreconfHook }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libsodium, libevent }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dnscrypt-wrapper-${version}";
|
name = "dnscrypt-wrapper-${version}";
|
||||||
version = "0.2";
|
version = "0.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/Cofyc/dnscrypt-wrapper/releases/download/v0.2/dnscrypt-wrapper-v0.2.tar.bz2";
|
owner = "Cofyc";
|
||||||
sha256 = "0kh52dc0v9lxwi39y88z0ab6bwa5bcw8b24psnz72fv555irsvyj";
|
repo = "dnscrypt-wrapper";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "06m6p79y0p6f1knk40fbi7dnc5hnq066kafvrq74fxrl51nywjbg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig autoreconfHook libsodium libevent ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||||
|
buildInputs = [ libsodium libevent ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A tool for adding dnscrypt support to any name resolver";
|
description = "A tool for adding dnscrypt support to any name resolver";
|
||||||
homepage = http://dnscrypt.org/;
|
homepage = https://dnscrypt.org/;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
|
maintainers = with maintainers; [ tstrobel joachifm ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user