Unverified Commit 7a188374 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #269737 from marsam/update-mystmd

mystmd: 1.1.29 -> 1.1.31
parents 19ba5793 b4b12bbb
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
{ lib, buildNpmPackage, fetchFromGitHub, mystmd, testers }:
{ lib, buildNpmPackage, fetchFromGitHub, mystmd, testers, nix-update-script }:

buildNpmPackage rec {
  pname = "mystmd";
  version = "1.1.29";
  version = "1.1.31";

  src = fetchFromGitHub {
    owner = "executablebooks";
    repo = "mystmd";
    rev = "mystmd@${version}";
    hash = "sha256-vI30dAcHdVtfD3xWIEytlDaobRX7Wkc7xt8vVHdXJxY=";
    hash = "sha256-1zjz1HJxa8ww02MnqravCWM51bpuSpnLxn34Kazbt5o=";
  };

  npmDepsHash = "sha256-l/jpNCVZe++o494W4EV86VAVdH9W8W8I0+dC2rBome8=";
  npmDepsHash = "sha256-7H3VKJAzbsKLhyFD7MoASsOyJwbt6vERO6LM2mpz/y0=";

  dontNpmInstall = true;

@@ -23,10 +23,13 @@ buildNpmPackage rec {
    runHook postInstall
  '';

  passthru.tests.version = testers.testVersion {
  passthru = {
    tests.version = testers.testVersion {
      package = mystmd;
      version = "v${version}";
    };
    updateScript = nix-update-script { };
  };

  meta = with lib; {
    description = "Command line tools for working with MyST Markdown";