diff options
author | Tim Steinbach <tim@nequissimus.com> | 2020-12-23 12:30:39 -0500 |
---|---|---|
committer | Tim Steinbach <tim@nequissimus.com> | 2020-12-23 12:30:39 -0500 |
commit | 05bf935bc6dbffaec6fe11ddb29390e495393927 (patch) | |
tree | 68581dc0cd57d1dbba8017560d63c01b9db5cf46 /pkgs/tools/text | |
parent | d14182937ddc9afb17471961d7055e816508f542 (diff) | |
download | nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar.gz nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar.bz2 nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar.lz nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar.xz nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar.zst nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.zip |
ripgrep: Add test
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/ripgrep/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/text/ripgrep/default.nix b/pkgs/tools/text/ripgrep/default.nix index 7bd8a74f458..c69c6fef8cb 100644 --- a/pkgs/tools/text/ripgrep/default.nix +++ b/pkgs/tools/text/ripgrep/default.nix @@ -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"; |