2016-09-23 23:39:58 +03:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "ripgrep-${version}";
|
2016-09-29 01:51:14 +03:00
|
|
|
version = "0.2.1";
|
2016-09-23 23:39:58 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BurntSushi";
|
|
|
|
repo = "ripgrep";
|
|
|
|
rev = "${version}";
|
2016-09-29 01:51:14 +03:00
|
|
|
sha256 = "0whw6hqjkf6sysrfv931jaia2hqhy8m9aa5rxax1kygm4snz4j85";
|
2016-09-23 23:39:58 +03:00
|
|
|
};
|
|
|
|
|
2016-09-29 01:51:14 +03:00
|
|
|
depsSha256 = "10f7pkgaxwizl7kzhkry7wx1rgm9wsybwkk92myc29s7sqir2mx4";
|
2016-09-23 23:39:58 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An untility that combines the usability of The Silver Searcher with the raw speed of grep";
|
|
|
|
homepage = https://github.com/BurntSushi/ripgrep;
|
|
|
|
license = with licenses; [ unlicense ];
|
|
|
|
maintainers = [ maintainers.tailhook ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|