nixpkgs/pkgs/tools/text/ripgrep/default.nix

26 lines
715 B
Nix
Raw Normal View History

2016-09-23 20:39:58 +00:00
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }:
with rustPlatform;
buildRustPackage rec {
name = "ripgrep-${version}";
2016-12-16 23:16:40 +00:00
version = "0.3.2";
2016-09-23 20:39:58 +00:00
src = fetchFromGitHub {
owner = "BurntSushi";
repo = "ripgrep";
rev = "${version}";
2016-12-16 23:16:40 +00:00
sha256 = "15j68bkkxpbh9c05f8l7j0y33da01y28kpg781lc0234h45535f3";
2016-09-23 20:39:58 +00:00
};
2016-12-16 23:16:40 +00:00
depsSha256 = "142h6pcf2mr4i7dg7di4299c18aqn0yvk9nr1mxnkb7wjcmrvcfg";
2016-09-23 20:39:58 +00:00
meta = with stdenv.lib; {
2016-12-15 23:41:22 +00:00
description = "A utility that combines the usability of The Silver Searcher with the raw speed of grep";
2016-09-23 20:39:58 +00:00
homepage = https://github.com/BurntSushi/ripgrep;
license = with licenses; [ unlicense ];
maintainers = [ maintainers.tailhook ];
platforms = platforms.all;
};
}