nix-search-cli: 0-unstable-2023-09-12 -> 0.2-unstable-2024-09-24 (#344603)

This commit is contained in:
Donovan Glover 2024-10-17 04:28:08 +00:00 committed by GitHub
commit 0beaea2edc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,34 +1,31 @@
{ lib
, buildGoModule
, fetchFromGitHub
, unstableGitUpdater
{
lib,
buildGoModule,
fetchFromGitHub,
unstableGitUpdater,
}:
buildGoModule {
pname = "nix-search-cli";
version = "0-unstable-2023-09-12";
version = "0.2-unstable-2024-09-24";
src = fetchFromGitHub {
owner = "peterldowns";
repo = "nix-search-cli";
rev = "f3f1c53c72dadac06472a7112aeb486ab5dda695";
hash = "sha256-YM1Lf7py79rU8aJE0PfQaMr5JWx5J1covUf1aCjRkc8=";
rev = "7d6b4c501ee448dc2e5c123aa4c6d9db44a6dd12";
hash = "sha256-0Zms/QVCUKxILLLJYsaodSW64DJrVr/yB13SnNL8+Wg=";
};
vendorHash = "sha256-JDOu7YdX9ztMZt0EFAMz++gD7n+Mn1VOe5g6XwrgS5M=";
vendorHash = "sha256-RZuB0aRiMSccPhX30cGKBBEMCSvmC6r53dWaqDYbmyA=";
passthru.updateScript = unstableGitUpdater {
# Almost every commit is tagged as "release-<unix-time>-<commit>", software doesn't keep track of its version
# Using 0 feels closer to what the tagging is trying to express
hardcodeZeroVersion = true;
};
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
meta = {
description = "CLI for searching packages on search.nixos.org";
homepage = "https://github.com/peterldowns/nix-search-cli";
license = licenses.mit;
maintainers = with maintainers; [ donovanglover ];
platforms = platforms.all;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ donovanglover ];
platforms = lib.platforms.all;
mainProgram = "nix-search";
};
}