1
0
forked from extern/nix-config

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.
This commit is contained in:
Donovan Glover 2023-06-02 09:29:17 -04:00
parent b64cb3183b
commit 968e26da53
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -2,6 +2,8 @@
, stdenv , stdenv
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, pkg-config
, vips
}: }:
buildGoModule rec { buildGoModule rec {
@ -12,11 +14,19 @@ buildGoModule rec {
owner = "donovanglover"; owner = "donovanglover";
repo = pname; repo = pname;
rev = "${version}"; rev = "${version}";
hash = lib.fakeSha256; sha256 = "sha256-sgd5kNnDXcSesGT+OignZ+APjNSxSP0Z60dr8cWO6sU=";
}; };
buildInputs = [
vips
];
nativeBuildInputs = [
pkg-config
];
# proxyVendor = true; # proxyVendor = true;
vendorSha256 = lib.fakeSha256; vendorSha256 = "sha256-4zgsoExdhEqvycGerNVxZ6LnjeRRO+f6DhJdINR5ZyI=";
postInstall = '' postInstall = ''
mkdir -p $out/share/thumbnailers mkdir -p $out/share/thumbnailers