# This file was generated by GoReleaser. DO NOT EDIT. # vim: set ft=nix ts=2 sw=2 sts=2 et sta { system ? builtins.currentSystem , pkgs , lib , fetchurl , installShellFiles }: let shaMap = { i686-linux = "0klwddyyvz5v6zi0xixvdyh8ic7cir9idy5lxa8yvx5mmq7jkdmy"; x86_64-linux = "1i42njlf08lzykdwjmp54hkhdspx4irvs1d0wfm318bb9nb99w91"; armv6l-linux = "1gr1kmmmc1669qsrqa14cp8iml3i4k2r970bmj87mvch1jvbnz0h"; aarch64-linux = "14qcrbmngr6xipddxxcw9sfb0izgyrdjpcbd99bi4wc75a45id7r"; x86_64-darwin = "0p53kba6g6j3bm30wfbbbx3zi06k6pyxkzkk9qqlra7n90n6x70c"; aarch64-darwin = "0p53kba6g6j3bm30wfbbbx3zi06k6pyxkzkk9qqlra7n90n6x70c"; }; urlMap = { i686-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.12/awl_Linux_i386.tar.gz"; x86_64-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.12/awl_Linux_amd64.tar.gz"; armv6l-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.12/awl_Linux_arm.tar.gz"; aarch64-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.12/awl_Linux_arm64.tar.gz"; x86_64-darwin = "https://git.froth.zone/sam/awl/releases/download/v0.6.12/awl_MacOS_all.tar.gz"; aarch64-darwin = "https://git.froth.zone/sam/awl/releases/download/v0.6.12/awl_MacOS_all.tar.gz"; }; in pkgs.stdenv.mkDerivation { pname = "awl"; version = "0.6.12"; src = fetchurl { url = urlMap.${system}; sha256 = shaMap.${system}; }; sourceRoot = "."; nativeBuildInputs = [ installShellFiles ]; installPhase = '' mkdir -p $out/bin cp -vr ./awl $out/bin/awl installManPage ./docs/awl.1.gz installShellCompletion ./completions/* ''; system = system; meta = { description = "A DNS query client"; homepage = "https://dns.froth.zone/awl"; license = lib.licenses.bsd3; sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; platforms = [ "aarch64-darwin" "aarch64-linux" "armv6l-linux" "i686-linux" "x86_64-darwin" "x86_64-linux" ]; }; }