diff options
author | Pamplemousse <xav.maso@gmail.com> | 2021-05-07 17:14:16 -0700 |
---|---|---|
committer | Pamplemousse <xav.maso@gmail.com> | 2021-05-10 14:47:11 -0700 |
commit | aac9ebc45f2dd348102f5fd100de1fa5d13f8ee5 (patch) | |
tree | 9bcf85b5faa76a2e75ba3df860953194c4214a2c /pkgs/development/tools/tapview/default.nix | |
parent | 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde (diff) |
tapview: init at 1.1
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
Diffstat (limited to 'pkgs/development/tools/tapview/default.nix')
-rw-r--r-- | pkgs/development/tools/tapview/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/tools/tapview/default.nix b/pkgs/development/tools/tapview/default.nix new file mode 100644 index 0000000000000..966df4bed65e5 --- /dev/null +++ b/pkgs/development/tools/tapview/default.nix @@ -0,0 +1,32 @@ +{ 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="; + }; + + # Remove unecessary `echo` checks: `/bin/echo` fails, and `echo -n` works as expected. + patches = [ ./dont_check_echo.patch ]; + + makeFlags = [ "prefix=$(out)" ]; + + meta = with lib; { + description = "A minimalist pure consumer for TAP (Test Anything Protocol)"; + homepage = "https://gitlab.com/esr/tapview"; + license = licenses.bsd2; + platforms = platforms.all; + maintainers = with maintainers; [ pamplemousse ]; + }; +} |