diff options
Diffstat (limited to 'nixpkgs/pkgs/by-name/my/mystmd/package.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/my/mystmd/package.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/by-name/my/mystmd/package.nix b/nixpkgs/pkgs/by-name/my/mystmd/package.nix index 5bf90c7d90cd..85810054da07 100644 --- a/nixpkgs/pkgs/by-name/my/mystmd/package.nix +++ b/nixpkgs/pkgs/by-name/my/mystmd/package.nix @@ -1,17 +1,17 @@ -{ lib, buildNpmPackage, fetchFromGitHub }: +{ lib, buildNpmPackage, fetchFromGitHub, mystmd, testers }: 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; @@ -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"; |