bat: Add test

This commit is contained in:
Tim Steinbach
2020-11-28 13:42:36 -05:00
parent 2d85247086
commit fe8fa45573
3 changed files with 16 additions and 0 deletions
+3
View File
@@ -1,4 +1,5 @@
{ stdenv
, nixosTests
, rustPlatform
, fetchFromGitHub
, pkg-config
@@ -38,6 +39,8 @@ rustPlatform.buildRustPackage rec {
--prefix PATH : "${stdenv.lib.makeBinPath [ less ]}"
'';
passthru.tests = { inherit (nixosTests) bat; };
meta = with stdenv.lib; {
description = "A cat(1) clone with syntax highlighting and Git integration";
homepage = "https://github.com/sharkdp/bat";