[Backport release-26.05] threadcat: init at 0.1.2 (#528771)

This commit is contained in:
Peder Bergebakken Sundt 2026-06-07 17:59:24 +00:00 committed by GitHub
commit 5ab9f7ef12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,32 @@
{
lib,
fetchFromCodeberg,
nix-update-script,
rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "threadcat";
version = "0.1.2";
src = fetchFromCodeberg {
owner = "blinry";
repo = "threadcat";
tag = "v${finalAttrs.version}";
hash = "sha256-AbdxEgnUM5iqFTKrMK2FnFWvELk46PEEWSVAlv1MBzQ=";
};
cargoHash = "sha256-F46gEUWcKl1nFS1faXeWJLV0lmCrJhBN3XpOiTcGXEc=";
passthru.updateScript = nix-update-script { };
__structuredAttrs = true;
meta = {
description = "Converts a Mastodon thread to Markdown, and downloads all contained media files";
homepage = "https://codeberg.org/blinry/threadcat";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.aiyion ];
mainProgram = "threadcat";
};
})