depot/third_party/nixpkgs/pkgs/servers/adguardhome/default.nix
Default email 849ee4d900 Project import generated by Copybara.
GitOrigin-RevId: 9e377a6ce42dccd9b624ae4ce8f978dc892ba0e2
2021-04-08 18:26:57 +02:00

23 lines
664 B
Nix

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