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

41 lines
911 B
Nix
Raw Permalink Normal View History

2025-01-31 00:15:23 +01:00
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
2025-04-04 01:34:05 +00:00
buildGoModule (finalAttrs: {
2025-01-31 00:15:23 +01:00
pname = "nix-search-tv";
2025-08-15 23:43:52 +00:00
version = "2.1.8";
2025-01-31 00:15:23 +01:00
src = fetchFromGitHub {
owner = "3timeslazy";
repo = "nix-search-tv";
2025-04-04 01:34:05 +00:00
tag = "v${finalAttrs.version}";
2025-08-15 23:43:52 +00:00
hash = "sha256-WcA8j+qY9A3aLcaD7PYPb7AJ4wtKgogIZWqhIK3VFgM=";
2025-01-31 00:15:23 +01:00
};
2025-04-22 20:00:30 +00:00
vendorHash = "sha256-hBkro++bjYGrhnq8rmSuKTgnkicagOHTkfRYluSBUX8=";
2025-01-31 00:15:23 +01:00
subPackages = [ "cmd/nix-search-tv" ];
ldflags = [
"-s"
"-w"
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
2025-04-18 14:13:39 +02:00
description = "Fuzzy search for Nix packages";
2025-01-31 00:15:23 +01:00
homepage = "https://github.com/3timeslazy/nix-search-tv";
2025-04-04 01:34:05 +00:00
changelog = "https://github.com/3timeslazy/nix-search-tv/releases/tag/v${finalAttrs.version}";
2025-01-31 00:15:23 +01:00
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ GaetanLepage ];
mainProgram = "nix-search-tv";
};
2025-04-04 01:34:05 +00:00
})