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";
|
2022-10-19 11:42:04 +00:00
|
|
|
version = "0.5.1";
|
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}";
|
2022-10-19 11:42:04 +00:00
|
|
|
sha256 = "sha256-6KqlpFBaAWrlEjkFQhOEic569+eoYVAsnhMrg8AEPV4=";
|
2017-05-27 09:49:48 +00:00
|
|
|
};
|
|
|
|
|
2022-10-17 12:17:49 +00:00
|
|
|
vendorSha256 = "sha256-xuD7/gTssf1Iu1VuIRysjtUjve16gozOq0Wz4w6mIB8=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|