quarto: add 'quarto-check' package test
This commit is contained in:
parent
145848a2d9
commit
dfbdf97ac2
1 changed files with 10 additions and 0 deletions
|
@ -9,7 +9,9 @@
|
|||
, rPackages
|
||||
, extraRPackages ? []
|
||||
, makeWrapper
|
||||
, runCommand
|
||||
, python3
|
||||
, quarto
|
||||
, extraPythonPackages ? ps: with ps; []
|
||||
}:
|
||||
|
||||
|
@ -61,6 +63,14 @@ stdenv.mkDerivation (final: {
|
|||
runHook preInstall
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
quarto-check = runCommand "quarto-check" {} ''
|
||||
export HOME="$(mktemp -d)"
|
||||
${quarto}/bin/quarto check
|
||||
touch $out
|
||||
'';
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open-source scientific and technical publishing system built on Pandoc";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue