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:
commit
0dacf1d711
22
pkgs/servers/adguardhome/default.nix
Normal file
22
pkgs/servers/adguardhome/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue