mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02: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 a new issue