acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / ni / nix-search-cli / package.nix
blobe5198fb28a7cb19fcb311071fff4a4b5b31f1130
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5   unstableGitUpdater,
6 }:
8 buildGoModule {
9   pname = "nix-search-cli";
10   version = "0.2-unstable-2024-09-24";
12   src = fetchFromGitHub {
13     owner = "peterldowns";
14     repo = "nix-search-cli";
15     rev = "7d6b4c501ee448dc2e5c123aa4c6d9db44a6dd12";
16     hash = "sha256-0Zms/QVCUKxILLLJYsaodSW64DJrVr/yB13SnNL8+Wg=";
17   };
19   vendorHash = "sha256-RZuB0aRiMSccPhX30cGKBBEMCSvmC6r53dWaqDYbmyA=";
21   passthru.updateScript = unstableGitUpdater { };
23   meta = {
24     description = "CLI for searching packages on search.nixos.org";
25     homepage = "https://github.com/peterldowns/nix-search-cli";
26     license = lib.licenses.mit;
27     maintainers = with lib.maintainers; [ donovanglover ];
28     platforms = lib.platforms.all;
29     mainProgram = "nix-search";
30   };