Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
885 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "nom";
version = "2.16.2";
src = fetchFromGitHub {
owner = "guyfedwards";
repo = "nom";
tag = "v${version}";
hash = "sha256-4CpvhcMP71dC1nDpvM9P6ZIeE2d2J90MNMWFYXTVaY4=";
};
vendorHash = "sha256-d5KTDZKfuzv84oMgmsjJoXGO5XYLVKxOB5XehqgRvYw=";
ldflags = [
"-X 'main.version=${version}'"
];
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/guyfedwards/nom";
changelog = "https://github.com/guyfedwards/nom/releases/tag/v${version}";
description = "RSS reader for the terminal";
platforms = lib.platforms.linux ++ lib.platforms.darwin;
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
nadir-ishiguro
matthiasbeyer
];
mainProgram = "nom";
};
}