1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 20:12:52 +00:00

Merge pull request #84386 from numkem/adguardhome

AdGuardHome: init at 0.101.0
This commit is contained in:
Lassulus 2020-06-17 19:20:13 +02:00 committed by GitHub
commit 0dacf1d711
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "adguardhome";
version = "0.101.0";
src = fetchurl {
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v${version}/AdGuardHome_linux_amd64.tar.gz";
sha256 = "17k37hh04zhy5csl0p9g4hybfc403i38n754in1xrkzxi81r8dh5";
};
installPhase = ''
install -m755 -D ./AdGuardHome $out/bin/adguardhome
'';
meta = with stdenv.lib; {
homepage = "https://github.com/AdguardTeam/AdGuardHome";
description = "Network-wide ads & trackers blocking DNS server";
platforms = platforms.linux;
maintainers = with maintainers; [ numkem ];
};
}

View file

@ -15540,6 +15540,8 @@ in
kerberos = libkrb5;
};
adguardhome = callPackage ../servers/adguardhome {};
apacheHttpd_2_4 = callPackage ../servers/http/apache-httpd/2.4.nix { };
apacheHttpd = pkgs.apacheHttpd_2_4;