diff options
author | Paul Colomiets <paul@colomiets.name> | 2016-09-23 23:39:58 +0300 |
---|---|---|
committer | Paul Colomiets <paul@colomiets.name> | 2016-09-23 23:53:54 +0300 |
commit | 1255d60b35b778b5db8ee4d5777f74516eaa55bc (patch) | |
tree | f19cb35859abdfac232082ec7ed7f9ef4801dd67 /pkgs/tools/text | |
parent | 4b7deb86d123bdf0cbc13f88b277cd7168a43b4f (diff) | |
download | nixlib-1255d60b35b778b5db8ee4d5777f74516eaa55bc.tar nixlib-1255d60b35b778b5db8ee4d5777f74516eaa55bc.tar.gz nixlib-1255d60b35b778b5db8ee4d5777f74516eaa55bc.tar.bz2 nixlib-1255d60b35b778b5db8ee4d5777f74516eaa55bc.tar.lz nixlib-1255d60b35b778b5db8ee4d5777f74516eaa55bc.tar.xz nixlib-1255d60b35b778b5db8ee4d5777f74516eaa55bc.tar.zst nixlib-1255d60b35b778b5db8ee4d5777f74516eaa55bc.zip |
ripgrep: init at 0.1.17
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/ripgrep/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/text/ripgrep/default.nix b/pkgs/tools/text/ripgrep/default.nix new file mode 100644 index 000000000000..ca08a2371283 --- /dev/null +++ b/pkgs/tools/text/ripgrep/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }: + +with rustPlatform; + +buildRustPackage rec { + name = "ripgrep-${version}"; + version = "0.1.17"; + + src = fetchFromGitHub { + owner = "BurntSushi"; + repo = "ripgrep"; + rev = "${version}"; + sha256 = "18bpb1jl9fnipgp9icf1wwzm7934lk0ycbpvzlhvs2873zqhv6a6"; + }; + + depsSha256 = "0fzjk5qynxivxmmz7r1za7mzdbdwzwwvxlc5a6cmxmzwnix2lby3"; + + 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; + }; +} |