commit
25db3cf046
|
@ -1,18 +1,20 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "fsql";
|
||||
version = "0.3.1";
|
||||
|
||||
goPackagePath = "github.com/kshvmdn/fsql";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kshvmdn";
|
||||
repo = "fsql";
|
||||
rev = "v${version}";
|
||||
sha256 = "1accpxryk4744ydfrqc3la5k376ji11yr84n66dz5cx0f3n71vmz";
|
||||
sha256 = "sha256-/9X1ag18epFjEfB+TbRsHPCZRZblV0ohvDlZ523kXXc=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-h75iQSpHZqc0QNOZWHU1l6xsHB8ClfWXYo1jVMzX72Q=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Search through your filesystem with SQL-esque queries";
|
||||
homepage = "https://github.com/kshvmdn/fsql";
|
||||
|
@ -20,5 +22,4 @@ buildGoPackage rec {
|
|||
maintainers = with maintainers; [ pSub ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue