ripgrep: Add test

This commit is contained in:
Tim Steinbach
2020-12-23 12:30:39 -05:00
parent d14182937d
commit 05bf935bc6
3 changed files with 17 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
{ stdenv
, nixosTests
, fetchFromGitHub
, rustPlatform
, asciidoctor
@@ -34,6 +35,8 @@ rustPlatform.buildRustPackage rec {
installShellCompletion --zsh complete/_rg
'';
passthru.tests = { inherit (nixosTests) ripgrep; };
meta = with stdenv.lib; {
description = "A utility that combines the usability of The Silver Searcher with the raw speed of grep";
homepage = "https://github.com/BurntSushi/ripgrep";