From 15287929d3400e1b7af713e30ff287a2dc56aa22 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 28 Oct 2023 04:20:00 +0000 Subject: [PATCH 1/2] mystmd: 1.1.22 -> 1.1.23 Diff: https://github.com/executablebooks/mystmd/compare/mystmd@1.1.22...mystmd@1.1.23 Changelog: https://github.com/executablebooks/mystmd/blob/mystmd@1.1.23/packages/myst-cli/CHANGELOG.md --- pkgs/by-name/my/mystmd/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/my/mystmd/package.nix b/pkgs/by-name/my/mystmd/package.nix index 5bf90c7d90cd..a8c571af3603 100644 --- a/pkgs/by-name/my/mystmd/package.nix +++ b/pkgs/by-name/my/mystmd/package.nix @@ -2,16 +2,16 @@ buildNpmPackage rec { pname = "mystmd"; - version = "1.1.22"; + version = "1.1.23"; src = fetchFromGitHub { owner = "executablebooks"; repo = "mystmd"; rev = "mystmd@${version}"; - hash = "sha256-jx/UCC/Cl5kqAbMzeikTmrx9xWS02OCp3rn0pvtIAPY="; + hash = "sha256-+zgAm3v7XcNhhVOFueRqJijteQqMCZmE33hDyR4d5bA="; }; - npmDepsHash = "sha256-1qQ19iB7N+KvO1uUdEMU1iN91FMQs4wzfTCdv6wfn30="; + npmDepsHash = "sha256-8brgDSV0BBggYUnizV+24RQMXxPd6HUBDYrw9fJtL+M="; dontNpmInstall = true; From b59a05ec897ca282e6b6fcbeb25320d98d053308 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 28 Oct 2023 04:20:00 +0000 Subject: [PATCH 2/2] mystmd: add version tester --- pkgs/by-name/my/mystmd/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/my/mystmd/package.nix b/pkgs/by-name/my/mystmd/package.nix index a8c571af3603..85810054da07 100644 --- a/pkgs/by-name/my/mystmd/package.nix +++ b/pkgs/by-name/my/mystmd/package.nix @@ -1,4 +1,4 @@ -{ 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";