nixpkgs/pkgs/tools/text/platinum-searcher/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
675 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "the_platinum_searcher";
version = "2.1.5";
rev = "v${version}";
goPackagePath = "github.com/monochromegane/the_platinum_searcher";
src = fetchFromGitHub {
inherit rev;
owner = "monochromegane";
repo = "the_platinum_searcher";
sha256 = "1y7kl3954dimx9hp2bf1vjg1h52hj1v6cm4f5nhrqzwrawp0b6q0";
};
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;
};
}