Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
946 B
Nix
38 lines
946 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "zfind";
|
|
version = "0.4.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "laktak";
|
|
repo = "zfind";
|
|
rev = "v${version}";
|
|
hash = "sha256-zp2YrrvghmXy0LPxCSkOxYwrmoGabTKCD5CiFl3XCOU=";
|
|
};
|
|
|
|
vendorHash = "sha256-kSqzjRXCr92c6CzQpRf3Ny+SEp3O15fKk0NgmTHtxSY=";
|
|
|
|
ldflags = [
|
|
"-X"
|
|
"main.appVersion=${version}"
|
|
];
|
|
|
|
meta = {
|
|
description = "CLI for file search with SQL like syntax";
|
|
longDescription = ''
|
|
zfind allows you to search for files, including inside tar, zip, 7z and rar archives.
|
|
It makes finding files easy with a filter syntax that is similar to an SQL-WHERE clause.
|
|
'';
|
|
homepage = "https://github.com/laktak/zfind";
|
|
changelog = "https://github.com/laktak/zfind/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "zfind";
|
|
maintainers = with lib.maintainers; [ eeedean ];
|
|
};
|
|
}
|