2022-04-16 07:48:30 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2017-05-27 09:49:48 +00:00
|
|
|
|
2022-04-16 07:48:30 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fsql";
|
2023-11-09 07:17:48 +00:00
|
|
|
version = "0.5.2";
|
2017-05-27 09:49:48 +00:00
|
|
|
|
2017-06-13 19:26:07 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kshvmdn";
|
|
|
|
repo = "fsql";
|
|
|
|
rev = "v${version}";
|
2023-11-09 07:17:48 +00:00
|
|
|
sha256 = "sha256-U6TPszqsZvoz+9GIB0wNYMRJqIDLOp/BZO3/k8FC0Gs=";
|
2017-05-27 09:49:48 +00:00
|
|
|
};
|
|
|
|
|
2023-11-09 07:17:48 +00:00
|
|
|
vendorHash = "sha256-+laTnx6Xkrv3QQel5opqYQSuFmo54UMI2A653xbBWzQ=";
|
2022-04-16 07:48:30 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-05-27 09:49:48 +00:00
|
|
|
description = "Search through your filesystem with SQL-esque queries";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/kshvmdn/fsql";
|
2017-05-27 09:49:48 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "fsql";
|
2017-05-27 09:49:48 +00:00
|
|
|
};
|
|
|
|
}
|