mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
914e0e594c
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
26 lines
685 B
Nix
26 lines
685 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "the_platinum_searcher-${version}";
|
|
version = "2.1.3";
|
|
rev = "v2.1.3";
|
|
|
|
goPackagePath = "github.com/monochromegane/the_platinum_searcher";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "monochromegane";
|
|
repo = "the_platinum_searcher";
|
|
sha256 = "09pkdfh7fqn3x4l9zaw5wzk20k7nfdwry7br9vfy3vv3fwv61ynp";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
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;
|
|
};
|
|
}
|