2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-05 21:39:30 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "adguardhome";
|
2020-06-23 16:42:18 +02:00
|
|
|
version = "0.102.0";
|
2020-04-05 21:39:30 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v${version}/AdGuardHome_linux_amd64.tar.gz";
|
2020-06-23 16:42:18 +02:00
|
|
|
sha256 = "192v3k0q8qdr52a34bf48i8rvm41wgi6an8a4rcsgyq5j8l7v76i";
|
2020-04-05 21:39:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -m755 -D ./AdGuardHome $out/bin/adguardhome
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-05 21:39:30 +02: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 21:32:23 +02:00
|
|
|
license = licenses.gpl3;
|
2020-04-05 21:39:30 +02:00
|
|
|
};
|
|
|
|
}
|