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
39 lines
885 B
Nix
39 lines
885 B
Nix
{
|
|
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";
|
|
};
|
|
}
|