Merge pull request #330389 from fsagbuya/dezoomify-rs

This commit is contained in:
Sandro 2024-08-22 14:11:44 +02:00 committed by GitHub
commit 457fff4a44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,33 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "dezoomify-rs";
version = "2.12.4";
src = fetchFromGitHub {
owner = "lovasoa";
repo = "dezoomify-rs";
rev = "refs/tags/v${version}";
hash = "sha256-7CRwlnIItJ89qqemkJbx5QjcLrwYrvpcjVYX5ZWP0W4=";
};
cargoHash = "sha256-v48eM43+/dt2M1J9yfjfTpBetv6AA2Hhzu8rrL3gojg=";
checkFlags = [
# Tests failing due to networking errors in Nix build environment
"--skip=local_generic_tiles"
"--skip=custom_size_local_zoomify_tiles"
];
meta = {
description = "Zoomable image downloader for Google Arts & Culture, Zoomify, IIIF, and others";
homepage = "https://github.com/lovasoa/dezoomify-rs/";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fsagbuya ];
mainProgram = "dezoomify-rs";
};
}