mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
8677b19c9d
Also fixed the "libgcc_s.so.1 must be installed for pthread_cancel to work" problem.
25 lines
735 B
Nix
25 lines
735 B
Nix
{stdenv, fetchgit, autoreconfHook, pkgconfig, pcre, zlib, lzma}:
|
|
|
|
let release = "0.19.2"; in
|
|
stdenv.mkDerivation {
|
|
name = "silver-searcher-${release}";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/ggreer/the_silver_searcher.git";
|
|
rev = "refs/tags/${release}";
|
|
sha256 = "b6993e077f650eb0976cbc924640665fa9b2499a899ecba5a6cad5cf9addfdff";
|
|
};
|
|
|
|
NIX_LDFLAGS = "-lgcc_s";
|
|
|
|
buildInputs = [ autoreconfHook pkgconfig pcre zlib lzma ];
|
|
|
|
meta = {
|
|
homepage = https://github.com/ggreer/the_silver_searcher/;
|
|
description = "A code-searching tool similar to ack, but faster";
|
|
maintainers = [ stdenv.lib.maintainers.madjar ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
license = stdenv.lib.licenses.asl20;
|
|
};
|
|
}
|