Mario Rodas 2023-11-24 04:20:00 +00:00
parent 238efb9014
commit b4b12bbb9d

View File

@ -1,17 +1,17 @@
{ lib, buildNpmPackage, fetchFromGitHub, mystmd, testers }: { lib, buildNpmPackage, fetchFromGitHub, mystmd, testers, nix-update-script }:
buildNpmPackage rec { buildNpmPackage rec {
pname = "mystmd"; pname = "mystmd";
version = "1.1.29"; version = "1.1.31";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "executablebooks"; owner = "executablebooks";
repo = "mystmd"; repo = "mystmd";
rev = "mystmd@${version}"; rev = "mystmd@${version}";
hash = "sha256-vI30dAcHdVtfD3xWIEytlDaobRX7Wkc7xt8vVHdXJxY="; hash = "sha256-1zjz1HJxa8ww02MnqravCWM51bpuSpnLxn34Kazbt5o=";
}; };
npmDepsHash = "sha256-l/jpNCVZe++o494W4EV86VAVdH9W8W8I0+dC2rBome8="; npmDepsHash = "sha256-7H3VKJAzbsKLhyFD7MoASsOyJwbt6vERO6LM2mpz/y0=";
dontNpmInstall = true; dontNpmInstall = true;
@ -23,9 +23,12 @@ buildNpmPackage rec {
runHook postInstall runHook postInstall
''; '';
passthru.tests.version = testers.testVersion { passthru = {
package = mystmd; tests.version = testers.testVersion {
version = "v${version}"; package = mystmd;
version = "v${version}";
};
updateScript = nix-update-script { };
}; };
meta = with lib; { meta = with lib; {