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
, 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