2016-06-06 03:28:52 +03:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
2016-05-18 19:23:15 +03:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "the_platinum_searcher-${version}";
|
2016-07-16 18:05:56 +03:00
|
|
|
version = "2.1.3";
|
|
|
|
rev = "v2.1.3";
|
2016-05-18 19:23:15 +03:00
|
|
|
|
|
|
|
goPackagePath = "github.com/monochromegane/the_platinum_searcher";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "monochromegane";
|
|
|
|
repo = "the_platinum_searcher";
|
2016-07-16 18:05:56 +03:00
|
|
|
sha256 = "09pkdfh7fqn3x4l9zaw5wzk20k7nfdwry7br9vfy3vv3fwv61ynp";
|
2016-05-18 19:23:15 +03:00
|
|
|
};
|
|
|
|
|
2016-06-06 03:28:52 +03:00
|
|
|
goDeps = ./deps.json;
|
2016-05-18 19:23:15 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/monochromegane/the_platinum_searcher;
|
|
|
|
description = "A code search tool similar to ack and the_silver_searcher(ag).";
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|