Commit b59a05ec authored by Mario Rodas's avatar Mario Rodas
Browse files

mystmd: add version tester

parent 15287929
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
{ lib, buildNpmPackage, fetchFromGitHub }:
{ lib, buildNpmPackage, fetchFromGitHub, mystmd, testers }:

buildNpmPackage rec {
  pname = "mystmd";
@@ -23,6 +23,11 @@ buildNpmPackage rec {
    runHook postInstall
  '';

  passthru.tests.version = testers.testVersion {
    package = mystmd;
    version = "v${version}";
  };

  meta = with lib; {
    description = "Command line tools for working with MyST Markdown";
    homepage = "https://github.com/executablebooks/mystmd";