nix-search-cli: 0-unstable-2023-09-12 -> 0.2-unstable-2024-09-24

This commit is contained in:
dr56ekgbb 2024-10-03 23:33:20 +08:00
parent dd89098d75
commit 89ca8c7941

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";
};
}