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
51 lines
1.0 KiB
Nix
51 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitea,
|
|
pkg-config,
|
|
curl,
|
|
expat,
|
|
gumbo,
|
|
sqlite,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "newsraft";
|
|
version = "0.32";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "newsraft";
|
|
repo = "newsraft";
|
|
rev = "newsraft-${finalAttrs.version}";
|
|
hash = "sha256-myirXmhxOgEWdk+W5AO1AW8aTq4q6Sn2fbqdCQQKssk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
curl
|
|
expat
|
|
gumbo
|
|
sqlite
|
|
];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
installTargets = "install install-desktop";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Feed reader for terminal";
|
|
homepage = "https://codeberg.org/newsraft/newsraft";
|
|
changelog = "https://codeberg.org/newsraft/newsraft/releases/tag/newsraft-${finalAttrs.version}";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [
|
|
arthsmn
|
|
luftmensch-luftmensch
|
|
];
|
|
mainProgram = "newsraft";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|