Files
nixpkgs/pkgs/by-name/mi/miniflux/package.nix
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

57 lines
1.2 KiB
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
installShellFiles,
nixosTests,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "miniflux";
version = "2.2.13";
src = fetchFromGitHub {
owner = "miniflux";
repo = "v2";
tag = finalAttrs.version;
hash = "sha256-u3YnABf+ik7q29JtOSlK+UlInLRq5mMlH7vIDpxOOvk=";
};
vendorHash = "sha256-JBT3BUFbPrSpkeZUoGiJJaeiSyXu8y+xcHWPNpxo3cU=";
nativeBuildInputs = [ installShellFiles ];
checkFlags = [ "-skip=TestClient" ]; # skip client tests as they require network access
ldflags = [
"-s"
"-w"
"-X miniflux.app/v2/internal/version.Version=${finalAttrs.version}"
];
postInstall = ''
mv $out/bin/miniflux.app $out/bin/miniflux
installManPage miniflux.1
'';
passthru = {
tests = nixosTests.miniflux;
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Minimalist and opinionated feed reader";
changelog = "https://miniflux.app/releases/${finalAttrs.version}.html";
homepage = "https://miniflux.app/";
license = licenses.asl20;
maintainers = with maintainers; [
rvolosatovs
benpye
emilylange
adamcstephens
];
mainProgram = "miniflux";
};
})