nixpkgs-suyu/pkgs/servers/adguardhome/default.nix

25 lines
666 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, fetchzip }:
2020-04-05 21:39:30 +02:00
stdenv.mkDerivation rec {
pname = "adguardhome";
2021-12-25 16:04:22 +01:00
version = "0.107.0";
2020-04-05 21:39:30 +02:00
src = (import ./bins.nix { inherit fetchurl fetchzip; }).${stdenv.hostPlatform.system};
2020-04-05 21:39:30 +02:00
installPhase = ''
install -m755 -D ./AdGuardHome $out/bin/adguardhome
'';
2021-05-22 14:09:35 +02:00
passthru = {
updateScript = ./update.sh;
};
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";
2021-05-22 14:09:35 +02:00
platforms = [ "x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin" ];
maintainers = with maintainers; [ numkem iagoq ];
license = licenses.gpl3Only;
2020-04-05 21:39:30 +02:00
};
}