3
0
Fork 0
forked from mirrors/nixpkgs
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 {
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,9 +23,12 @@ buildNpmPackage rec {
runHook postInstall
'';
passthru.tests.version = testers.testVersion {
package = mystmd;
version = "v${version}";
passthru = {
tests.version = testers.testVersion {
package = mystmd;
version = "v${version}";
};
updateScript = nix-update-script { };
};
meta = with lib; {