Merge pull request #317742 from eeedean/add-zfind

zfind: init at 0.4.0
This commit is contained in:
Pol Dellaiera 2024-06-14 18:46:19 +02:00 committed by GitHub
commit 45dca885a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,30 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "zfind";
version = "0.4.0";
src = fetchFromGitHub {
owner = "laktak";
repo = "zfind";
rev = "v${version}";
hash = "sha256-T0cTEjjF9GTe+knixsgnbNfACUvbx92PUbLE+wgZ7sk=";
};
vendorHash = "sha256-mmoJrqWRmJTAR2wkAB52mpYEEj3XD+jHvlVrw51vqys=";
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 ];
};
}