From 968e26da5338ce1678e86a0e41b794cc2726cf35 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 2 Jun 2023 09:29:17 -0400 Subject: [PATCH] go-thumbnailer: Update inputs and sha256 This is a separate commit so I don't forget what I changed in order to get go-thumbnailer to work. --- applications/thunar/go-thumbnailer/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/applications/thunar/go-thumbnailer/default.nix b/applications/thunar/go-thumbnailer/default.nix index 5dd65b1..4f7489e 100644 --- a/applications/thunar/go-thumbnailer/default.nix +++ b/applications/thunar/go-thumbnailer/default.nix @@ -2,6 +2,8 @@ , stdenv , buildGoModule , fetchFromGitHub +, pkg-config +, vips }: buildGoModule rec { @@ -12,11 +14,19 @@ buildGoModule rec { owner = "donovanglover"; repo = pname; rev = "${version}"; - hash = lib.fakeSha256; + sha256 = "sha256-sgd5kNnDXcSesGT+OignZ+APjNSxSP0Z60dr8cWO6sU="; }; + buildInputs = [ + vips + ]; + + nativeBuildInputs = [ + pkg-config + ]; + # proxyVendor = true; - vendorSha256 = lib.fakeSha256; + vendorSha256 = "sha256-4zgsoExdhEqvycGerNVxZ6LnjeRRO+f6DhJdINR5ZyI="; postInstall = '' mkdir -p $out/share/thumbnailers