depot/third_party/nixpkgs/pkgs/by-name/zf/zfind/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

37 lines
949 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "zfind";
version = "0.4.5";
src = fetchFromGitHub {
owner = "laktak";
repo = "zfind";
rev = "v${version}";
hash = "sha256-sRZAsmh193K5HX7oC1UdCQccNpSc5QHtec+UpvpntKU=";
};
vendorHash = "sha256-blq0/pRppdf2jcuhIqYeNhcazFNZOGeEjPTSLgHqhrU=";
ldflags = [
"-X"
"main.appVersion=${version}"
];
meta = with lib; {
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 = licenses.mit;
mainProgram = "zfind";
maintainers = with maintainers; [ eeedean ];
};
}