eslint_d: Add passthru.tests.version

This commit is contained in:
Damien Cassou 2024-10-12 16:05:16 +02:00
parent 7ac7bd10e8
commit e7c04b2414
No known key found for this signature in database
GPG Key ID: B68746238E59B548

View File

@ -1,4 +1,4 @@
{ lib, buildNpmPackage, fetchFromGitHub }:
{ lib, buildNpmPackage, fetchFromGitHub, eslint_d, testers }:
buildNpmPackage rec {
pname = "eslint_d";
@ -15,6 +15,8 @@ buildNpmPackage rec {
dontNpmBuild = true;
passthru.tests.version = testers.testVersion { package = eslint_d; version = src.rev; };
meta = with lib; {
description = "Makes eslint the fastest linter on the planet";
homepage = "https://github.com/mantoni/eslint_d.js";