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

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

25 lines
597 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";
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" ];
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 ];
};
}