2017-06-13 20:26:07 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2017-05-27 10:49:48 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "fsql-${version}";
|
2017-06-13 20:26:07 +01:00
|
|
|
version = "0.2.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}";
|
|
|
|
sha256 = "1izcfxm77hjj8z7a2nk9bbwbz4wc2yqzs2ir8v3k822m1hvgwb9a";
|
2017-05-27 10:49:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Search through your filesystem with SQL-esque queries";
|
|
|
|
homepage = https://github.com/kshvmdn/fsql;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
inherit version;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|