2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-05 20:39:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-25 22:53:02 +01:00
|
|
|
pname = "adguardhome";
|
2021-06-08 21:49:58 +01:00
|
|
|
version = "0.106.3";
|
2020-04-05 20:39:30 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v${version}/AdGuardHome_linux_amd64.tar.gz";
|
2021-06-08 21:49:58 +01:00
|
|
|
sha256 = "11p081dqilga61zfziw5w37k6v2r84qynhz2hr4gk8367jck54x8";
|
2020-04-05 20:39:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -m755 -D ./AdGuardHome $out/bin/adguardhome
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-05 20:39:30 +01:00
|
|
|
homepage = "https://github.com/AdguardTeam/AdGuardHome";
|
|
|
|
description = "Network-wide ads & trackers blocking DNS server";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ numkem ];
|
2020-06-30 20:32:23 +01:00
|
|
|
license = licenses.gpl3;
|
2020-04-05 20:39:30 +01:00
|
|
|
};
|
|
|
|
}
|