depot/third_party/nixpkgs/pkgs/development/tools/tapview/default.nix
Default email b96e6f4393 Project import generated by Copybara.
GitOrigin-RevId: 20887e4bbfdae3aed6bfa1f53ddf138ee325515e
2021-07-03 21:40:35 -05:00

32 lines
753 B
Nix

{ 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 ];
};
}