summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <getchoo@tuta.io>2024-11-22 19:20:56 -0500
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-11-24 12:05:54 +0000
commit3f79725ab3926d5cb387c615ce65cdedd4f56216 (patch)
tree45dece0b99d988a217cbf70e57209811c6d5ec0f
parent[Backport release-24.11] fwupd: 1.9.25 -> 2.0.1 (#358659) (diff)
downloadnixpkgs-3f79725ab3926d5cb387c615ce65cdedd4f56216.tar.gz
bign-handheld-thumbnailer: init at 1.1.1
(cherry picked from commit 30626227b08ad678119cd68c87af2d72e01b7191)
-rw-r--r--pkgs/by-name/bi/bign-handheld-thumbnailer/package.nix50
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/by-name/bi/bign-handheld-thumbnailer/package.nix b/pkgs/by-name/bi/bign-handheld-thumbnailer/package.nix
new file mode 100644
index 000000000000..94291f9993e8
--- /dev/null
+++ b/pkgs/by-name/bi/bign-handheld-thumbnailer/package.nix
@@ -0,0 +1,50 @@
+{
+ lib,
+ bign-handheld-thumbnailer,
+ fetchFromGitHub,
+ glib,
+ nix-update-script,
+ pkg-config,
+ rustPlatform,
+ testers,
+}:
+
+rustPlatform.buildRustPackage rec {
+ pname = "bign-handheld-thumbnailer";
+ version = "1.1.1";
+
+ src = fetchFromGitHub {
+ owner = "MateusRodCosta";
+ repo = "bign-handheld-thumbnailer";
+ rev = "refs/tags/v${version}";
+ hash = "sha256-rRKMIkeTBb16GF8DgQ36Vdx/1I6zuzpuL/jusFJ0OZw=";
+ };
+
+ cargoHash = "sha256-e6KuE6tlBfTfqTW4oyNIchB3/1tsl8CbR0x4ZUTKDVA=";
+
+ 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;
+ };
+}