2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-05-18 17:23:15 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "the_platinum_searcher";
|
2017-04-30 20:51:58 +01:00
|
|
|
version = "2.1.5";
|
|
|
|
rev = "v${version}";
|
2016-05-18 17:23:15 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/monochromegane/the_platinum_searcher";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "monochromegane";
|
|
|
|
repo = "the_platinum_searcher";
|
2017-04-30 20:51:58 +01:00
|
|
|
sha256 = "1y7kl3954dimx9hp2bf1vjg1h52hj1v6cm4f5nhrqzwrawp0b6q0";
|
2016-05-18 17:23:15 +01:00
|
|
|
};
|
|
|
|
|
2016-09-10 11:04:13 +01:00
|
|
|
goDeps = ./deps.nix;
|
2016-05-18 17:23:15 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/monochromegane/the_platinum_searcher";
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "A code search tool similar to ack and the_silver_searcher(ag)";
|
2016-05-18 17:23:15 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|