# 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 = "1vd2xi1zq16kzi6wvv614vl6xwcclkpjbjakrmw5ykxr8mm6kf65"; x86_64-linux = "0mglf2b0zrmlbx3p2v5nmhks8jcl93a036qx8k3bb7vvwgc0d3gv"; armv6l-linux = "1qbq0rfljz704398bgm4k2k026cziwf5hrwv0l4606iiz54jl0bc"; aarch64-linux = "1azsq4h2dqwk3a24sszasgx5z17lz42cvnqvw50wcdqwpqjrgq7w"; x86_64-darwin = "128byv0gq1ahzxdhg1bb99yyfc7392d5i6m0aq10g1v4nywqy3pj"; aarch64-darwin = "128byv0gq1ahzxdhg1bb99yyfc7392d5i6m0aq10g1v4nywqy3pj"; }; 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" ]; }; }