blob: 84fb6a45f54b187fbcf16fc3cb6ec2de38b4cdcb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "zfind";
version = "0.4.4";
src = fetchFromGitHub {
owner = "laktak";
repo = "zfind";
rev = "v${version}";
hash = "sha256-CHudSfvl+YnKjvvuSH0RgIqF2bDEO1KW3oAiNN2mLro=";
};
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 ];
};
}
|