2016-06-06 01:28:52 +01:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
2016-05-18 17:23:15 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "the_platinum_searcher-${version}";
|
|
|
|
version = "2.1.1";
|
|
|
|
rev = "v2.1.1";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/monochromegane/the_platinum_searcher";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "monochromegane";
|
|
|
|
repo = "the_platinum_searcher";
|
|
|
|
sha256 = "06cs936w3l64ikszcysdm9ijn52kwgi1ffjxkricxbdb677gsk23";
|
|
|
|
};
|
|
|
|
|
2016-06-06 01:28:52 +01:00
|
|
|
goDeps = ./deps.json;
|
2016-05-18 17:23:15 +01: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;
|
|
|
|
};
|
|
|
|
}
|