haunt: enable tests and verify that the binary works
This commit is contained in:
parent
cd5f229e4f
commit
bd722f1105
@ -27,12 +27,21 @@ stdenv.mkDerivation rec {
|
|||||||
guile-reader
|
guile-reader
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/haunt \
|
wrapProgram $out/bin/haunt \
|
||||||
--prefix GUILE_LOAD_PATH : "$out/share/guile/site:${guile-commonmark}/share/guile/site:${guile-reader}/share/guile/site" \
|
--prefix GUILE_LOAD_PATH : "$out/share/guile/site:${guile-commonmark}/share/guile/site:${guile-reader}/share/guile/site" \
|
||||||
--prefix GUILE_LOAD_COMPILED_PATH : "$out/share/guile/site:${guile-commonmark}/share/guile/site:${guile-reader}/share/guile/site"
|
--prefix GUILE_LOAD_COMPILED_PATH : "$out/share/guile/site:${guile-commonmark}/share/guile/site:${guile-reader}/share/guile/site"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
runHook preInstallCheck
|
||||||
|
$out/bin/haunt --version
|
||||||
|
runHook postInstallCheck
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://dthompson.us/projects/haunt.html";
|
homepage = "https://dthompson.us/projects/haunt.html";
|
||||||
description = "Guile-based static site generator";
|
description = "Guile-based static site generator";
|
||||||
@ -53,7 +62,7 @@ stdenv.mkDerivation rec {
|
|||||||
to do things that aren't provided out-of-the-box.
|
to do things that aren't provided out-of-the-box.
|
||||||
'';
|
'';
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres AluisioASG ];
|
||||||
platforms = guile.meta.platforms;
|
platforms = guile.meta.platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user