mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
mystmd: add version tester
This commit is contained in:
parent
15287929d3
commit
b59a05ec89
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user