Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.2 KiB
Nix

{
lib,
bign-handheld-thumbnailer,
fetchFromGitHub,
glib,
nix-update-script,
pkg-config,
rustPlatform,
testers,
}:
rustPlatform.buildRustPackage rec {
pname = "bign-handheld-thumbnailer";
version = "1.1.3";
src = fetchFromGitHub {
owner = "MateusRodCosta";
repo = "bign-handheld-thumbnailer";
tag = "v${version}";
hash = "sha256-qS1bKEkZPmNMfiLUZVlx8EAXMMYCcGGTTZFhWwlZ3gQ=";
};
cargoHash = "sha256-LyT0HDR51/bYnXtavgtff1nCKuJn41UmZuH/uJmykkk=";
strictDeps = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib ];
passthru = {
tests.version = testers.testVersion {
package = bign-handheld-thumbnailer;
version = "v${version}";
};
updateScript = nix-update-script { };
};
meta = {
description = "Thumbnailer for Nintendo handheld systems (Nintendo DS and 3DS) roms and files";
homepage = "https://github.com/MateusRodCosta/bign-handheld-thumbnailer";
changelog = "https://github.com/MateusRodCosta/bign-handheld-thumbnailer/releases/tag/v${version}";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "bign-handheld-thumbnailer";
# This is based on GIO
inherit (glib.meta) platforms;
};
}