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

26 lines
717 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-09-28 22:51:14 +00:00
version = "0.2.1";
2016-09-23 20:39:58 +00:00
src = fetchFromGitHub {
owner = "BurntSushi";
repo = "ripgrep";
rev = "${version}";
2016-09-28 22:51:14 +00:00
sha256 = "0whw6hqjkf6sysrfv931jaia2hqhy8m9aa5rxax1kygm4snz4j85";
2016-09-23 20:39:58 +00:00
};
2016-09-28 22:51:14 +00:00
depsSha256 = "10f7pkgaxwizl7kzhkry7wx1rgm9wsybwkk92myc29s7sqir2mx4";
2016-09-23 20:39:58 +00: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;
};
}