feedr: init at 0.5.0 (#502685)

This commit is contained in:
Pol Dellaiera
2026-03-23 20:30:00 +00:00
committed by GitHub
+56
View File
@@ -0,0 +1,56 @@
{
stdenvNoCC,
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "feedr";
version = "0.5.0";
src = fetchFromGitHub {
owner = "bahdotsh";
repo = "feedr";
tag = "v${finalAttrs.version}";
hash = "sha256-owdJDY61170g28Ujnwzt/8dZ+uyPHlM0iXRyfOL9gls=";
};
cargoHash = "sha256-gl6kiDNvRzn5ZG6syuZ9Y8EgwcHpr+5lVEmn3mI5qSw=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
];
checkFlags = [
# Those tests require network access, which is not available in the sandbox.
# Error: Failed to parse RSS feed: Failed to fetch feed
"--skip=test_mixed_feeds"
"--skip=test_rss_feed_parsing"
]
++ lib.optionals stdenvNoCC.hostPlatform.isDarwin [
# event loop thread panicked
"--skip=test_problematic_feeds"
"--skip=test_reddit_style_atom_feeds"
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
meta = {
changelog = "https://github.com/bahdotsh/feedr/releases/tag/${finalAttrs.src.tag}";
description = "Feature-rich terminal-based RSS/Atom feed reader written in Rust";
longDescription = "Feedr is a modern terminal-based RSS/Atom feed reader with advanced filtering, categorization, and search capabilities. It supports both RSS and Atom feeds with compression handling and provides an intuitive TUI interface.";
homepage = "https://github.com/bahdotsh/feedr";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drupol ];
mainProgram = "feedr";
};
})