3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/silver-searcher/default.nix

24 lines
749 B
Nix
Raw Normal View History

2015-06-22 11:10:03 +01:00
{stdenv, fetchurl, autoreconfHook, pkgconfig, pcre, zlib, lzma}:
2014-01-19 12:24:32 +00:00
2015-06-22 11:10:03 +01:00
stdenv.mkDerivation rec {
name = "silver-searcher-${version}";
version = "0.30.0";
2014-01-19 12:24:32 +00:00
2015-06-22 11:10:03 +01:00
src = fetchurl {
url = "https://github.com/ggreer/the_silver_searcher/archive/${version}.tar.gz";
sha256 = "1nx5glgd0x55z073qcaazav5sm0jfvxai2bykkldniv6z601pdm3";
2014-01-19 12:24:32 +00:00
};
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
2014-01-19 12:24:32 +00:00
buildInputs = [ autoreconfHook pkgconfig pcre zlib lzma ];
2015-06-22 07:25:07 +01:00
meta = with stdenv.lib; {
2014-01-19 12:24:32 +00:00
homepage = https://github.com/ggreer/the_silver_searcher/;
description = "A code-searching tool similar to ack, but faster";
2015-06-22 07:25:07 +01:00
maintainers = with maintainers; [ madjar jgeerds ];
platforms = platforms.all;
license = licenses.asl20;
2014-01-19 12:24:32 +00:00
};
}