depot/third_party/nixpkgs/pkgs/servers/adguardhome/default.nix
Default email 93ffb054db Project import generated by Copybara.
GitOrigin-RevId: 6f0c00907bbd81b47052eef59f7b284926a77289
2020-11-24 21:58:05 +01:00

23 lines
666 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "adguardhome";
version = "0.102.0";
src = fetchurl {
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v${version}/AdGuardHome_linux_amd64.tar.gz";
sha256 = "192v3k0q8qdr52a34bf48i8rvm41wgi6an8a4rcsgyq5j8l7v76i";
};
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 ];
license = licenses.gpl3;
};
}