Merge pull request #196872 from viraptor/dnstake-fix-darwin

dnstake: fix darwin build
This commit is contained in:
Fabian Affolter 2022-10-22 09:36:32 +02:00 committed by GitHub
commit 4f8287f3d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, fetchpatch
}:
buildGoModule rec {
@ -14,7 +15,16 @@ buildGoModule rec {
sha256 = "sha256-k6j7DIwK8YAKmEjn8JJO7XBcap9ui6cgUSJG7CeHAAM=";
};
vendorSha256 = "sha256-l3IKvcO10C+PVDX962tFWny7eMNC48ATIVqiHjpVH/Y=";
patches = [
# https://github.com/pwnesia/dnstake/pull/36
(fetchpatch {
name = "update-x-sys-fix-darwin.patch";
url = "https://github.com/pwnesia/dnstake/commit/974efbbff4ce26d2f2646ca2ceb1316c131cefbe.patch";
sha256 = "sha256-fLOGF8damdLROd8T0fH/FGSVX23dtc+yHhSvVCwVeuY=";
})
];
vendorSha256 = "sha256-lV6dUl+OMUQfhlgNL38k0Re1Mr3VP9b8SI3vTJ8CP18=";
meta = with lib; {
description = "Tool to check missing hosted DNS zones";