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

26 lines
607 B
Nix
Raw Normal View History

{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2017-05-27 10:49:48 +01:00
buildGoPackage rec {
pname = "fsql";
2017-07-02 11:57:34 +01:00
version = "0.3.1";
2017-05-27 10:49:48 +01:00
goPackagePath = "github.com/kshvmdn/fsql";
2017-06-13 20:26:07 +01:00
src = fetchFromGitHub {
owner = "kshvmdn";
repo = "fsql";
rev = "v${version}";
2017-07-02 11:57:34 +01:00
sha256 = "1accpxryk4744ydfrqc3la5k376ji11yr84n66dz5cx0f3n71vmz";
2017-05-27 10:49:48 +01:00
};
meta = with lib; {
2017-05-27 10:49:48 +01:00
description = "Search through your filesystem with SQL-esque queries";
homepage = "https://github.com/kshvmdn/fsql";
2017-05-27 10:49:48 +01:00
license = licenses.mit;
maintainers = with maintainers; [ pSub ];
platforms = platforms.unix;
2017-05-27 10:49:48 +01:00
inherit version;
};
}