2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildNpmPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "reveal-md";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "6.1.3";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "webpro";
|
|
|
|
repo = "reveal-md";
|
|
|
|
rev = version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-m2aCC+ATymqKLn+aGEV8yzXASJJX4CI1YcPwt25T8k4=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
npmDepsHash = "sha256-QREJaF3aEHJA41fYTsJLlJU1l9bcVPS0BUkIzZIqZAA=";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
env = {
|
2024-07-01 15:47:52 +00:00
|
|
|
PUPPETEER_SKIP_DOWNLOAD = true;
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontNpmBuild = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
runHook preCheck
|
|
|
|
|
|
|
|
npm run test
|
|
|
|
|
|
|
|
runHook postCheck
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Get beautiful reveal.js presentations from your Markdown files";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "reveal-md";
|
2023-08-04 22:07:22 +00:00
|
|
|
homepage = "https://github.com/webpro/reveal-md";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ sagikazarmark ];
|
|
|
|
};
|
|
|
|
}
|