2021-07-04 02:40:35 +00:00
|
|
|
{ asciidoctor
|
|
|
|
, fetchFromGitLab
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tapview";
|
|
|
|
version = "1.1";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ asciidoctor ];
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "esr";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-inrxICNglZU/tup+YnHaDiVss32K2OXht/7f8lOZI4g=";
|
|
|
|
};
|
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
# Remove unnecessary `echo` checks: `/bin/echo` fails, and `echo -n` works as expected.
|
2021-07-04 02:40:35 +00:00
|
|
|
patches = [ ./dont_check_echo.patch ];
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A minimalist pure consumer for TAP (Test Anything Protocol)";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "tapview";
|
2021-07-04 02:40:35 +00:00
|
|
|
homepage = "https://gitlab.com/esr/tapview";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ pamplemousse ];
|
|
|
|
};
|
|
|
|
}
|