depot/third_party/nixpkgs/pkgs/tools/misc/fsql/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

25 lines
621 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "fsql";
version = "0.5.2";
src = fetchFromGitHub {
owner = "kshvmdn";
repo = "fsql";
rev = "v${version}";
sha256 = "sha256-U6TPszqsZvoz+9GIB0wNYMRJqIDLOp/BZO3/k8FC0Gs=";
};
vendorHash = "sha256-+laTnx6Xkrv3QQel5opqYQSuFmo54UMI2A653xbBWzQ=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Search through your filesystem with SQL-esque queries";
homepage = "https://github.com/kshvmdn/fsql";
license = licenses.mit;
maintainers = with maintainers; [ pSub ];
mainProgram = "fsql";
};
}