about summary refs log tree commit diff
path: root/pkgs/by-name/my
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/my')
-rw-r--r--pkgs/by-name/my/mystmd/package.nix7
1 files changed, 6 insertions, 1 deletions
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";