depot/pkgs/by-name/ni/nix-search-cli/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
793 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
unstableGitUpdater,
}:
buildGoModule {
pname = "nix-search-cli";
version = "0.2-unstable-2024-09-24";
src = fetchFromGitHub {
owner = "peterldowns";
repo = "nix-search-cli";
rev = "7d6b4c501ee448dc2e5c123aa4c6d9db44a6dd12";
hash = "sha256-0Zms/QVCUKxILLLJYsaodSW64DJrVr/yB13SnNL8+Wg=";
};
vendorHash = "sha256-RZuB0aRiMSccPhX30cGKBBEMCSvmC6r53dWaqDYbmyA=";
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "CLI for searching packages on search.nixos.org";
homepage = "https://github.com/peterldowns/nix-search-cli";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ donovanglover ];
platforms = lib.platforms.all;
mainProgram = "nix-search";
};
}