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

26 lines
715 B
Nix
Raw Normal View History

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