1{ asciidoctor
2, fetchFromGitLab
3, lib
4, stdenv
5}:
6
7stdenv.mkDerivation rec {
8 pname = "tapview";
9 version = "1.1";
10
11 nativeBuildInputs = [ asciidoctor ];
12
13 src = fetchFromGitLab {
14 owner = "esr";
15 repo = pname;
16 rev = version;
17 hash = "sha256-inrxICNglZU/tup+YnHaDiVss32K2OXht/7f8lOZI4g=";
18 };
19
20 # Remove unnecessary `echo` checks: `/bin/echo` fails, and `echo -n` works as expected.
21 patches = [ ./dont_check_echo.patch ];
22
23 makeFlags = [ "prefix=$(out)" ];
24
25 meta = with lib; {
26 description = "Minimalist pure consumer for TAP (Test Anything Protocol)";
27 mainProgram = "tapview";
28 homepage = "https://gitlab.com/esr/tapview";
29 license = licenses.bsd2;
30 platforms = platforms.all;
31 maintainers = with maintainers; [ pamplemousse ];
32 };
33}