nixpkgs/pkgs/tools/misc/fsql/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
621 B
Nix
Raw Normal View History

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 {
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" ];
meta = with lib; {
2017-05-27 09:49:48 +00:00
description = "Search through your filesystem with SQL-esque queries";
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
};
}