Merge pull request #25360 from sigma/pr/pt-2.1.5

the_platinum_searcher: 2.1.3 -> 2.1.5
This commit is contained in:
Benno Fünfstück 2017-04-30 23:04:11 +02:00 committed by GitHub
commit 17a8227c3c
2 changed files with 18 additions and 13 deletions

View file

@ -2,8 +2,8 @@
buildGoPackage rec { buildGoPackage rec {
name = "the_platinum_searcher-${version}"; name = "the_platinum_searcher-${version}";
version = "2.1.3"; version = "2.1.5";
rev = "v2.1.3"; rev = "v${version}";
goPackagePath = "github.com/monochromegane/the_platinum_searcher"; goPackagePath = "github.com/monochromegane/the_platinum_searcher";
@ -11,11 +11,16 @@ buildGoPackage rec {
inherit rev; inherit rev;
owner = "monochromegane"; owner = "monochromegane";
repo = "the_platinum_searcher"; repo = "the_platinum_searcher";
sha256 = "09pkdfh7fqn3x4l9zaw5wzk20k7nfdwry7br9vfy3vv3fwv61ynp"; sha256 = "1y7kl3954dimx9hp2bf1vjg1h52hj1v6cm4f5nhrqzwrawp0b6q0";
}; };
goDeps = ./deps.nix; goDeps = ./deps.nix;
preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
# fixes cycle between $out and $bin
install_name_tool -delete_rpath $out/lib $bin/bin/pt
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/monochromegane/the_platinum_searcher; homepage = https://github.com/monochromegane/the_platinum_searcher;
description = "A code search tool similar to ack and the_silver_searcher(ag)."; description = "A code search tool similar to ack and the_silver_searcher(ag).";

View file

@ -4,8 +4,8 @@
fetch = { fetch = {
type = "git"; type = "git";
url = "https://gopkg.in/yaml.v2"; url = "https://gopkg.in/yaml.v2";
rev = "a83829b6f1293c91addabc89d0571c246397bbf4"; rev = "a5b47d31c556af34a302ce5d659e6fea44d90de0";
sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh"; sha256 = "0v6l48fshdjrqzyq1kwn22gy7vy434xdr1i0lm3prsf6jbln9fam";
}; };
} }
{ {
@ -13,8 +13,8 @@
fetch = { fetch = {
type = "git"; type = "git";
url = "https://github.com/jessevdk/go-flags"; url = "https://github.com/jessevdk/go-flags";
rev = "1b89bf73cd2c3a911d7b2a279ab085c4a18cf539"; rev = "4e64e4a4e2552194cf594243e23aa9baf3b4297e";
sha256 = "027nglc5xx1cm03z9sisg0iqrhwcj6gh5z254rrpl8p4fwrxx680"; sha256 = "02x7f1wm8119s27h4dc3a4aw6shydnpnnkvzwg5xm0snn5kb4zxm";
}; };
} }
{ {
@ -22,8 +22,8 @@
fetch = { fetch = {
type = "git"; type = "git";
url = "https://github.com/BurntSushi/toml"; url = "https://github.com/BurntSushi/toml";
rev = "056c9bc7be7190eaa7715723883caffa5f8fa3e4"; rev = "99064174e013895bbd9b025c31100bd1d9b590ca";
sha256 = "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw"; sha256 = "058qrar8rvw3wb0ci1mf1axnqq2729cvv9zmdr4ms2nn9s97yiz9";
}; };
} }
{ {
@ -31,8 +31,8 @@
fetch = { fetch = {
type = "git"; type = "git";
url = "https://go.googlesource.com/text"; url = "https://go.googlesource.com/text";
rev = "5eb8d4684c4796dd36c74f6452f2c0fa6c79597e"; rev = "a49bea13b776691cb1b49873e5d8df96ec74831a";
sha256 = "1cjwm2pv42dbfqc6ylr7jmma902zg4gng5aarqrbjf1k2nf2vs14"; sha256 = "1pcmgf88wml6ca8v63nh3nxsfvpzjv3c4qj2w2wkizbil826g7as";
}; };
} }
{ {
@ -76,8 +76,8 @@
fetch = { fetch = {
type = "git"; type = "git";
url = "https://github.com/shiena/ansicolor"; url = "https://github.com/shiena/ansicolor";
rev = "a5e2b567a4dd6cc74545b8a4f27c9d63b9e7735b"; rev = "a422bbe96644373c5753384a59d678f7d261ff10";
sha256 = "0gwplb1b4fvav1vjf4b2dypy5rcp2w41vrbxkd1dsmac870cy75p"; sha256 = "1dcn8a9z6a5dxa2m3fkppnajcls8lanbl38qggkf646yi5qsk1hc";
}; };
} }
] ]