mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 01:18:24 +00:00
eslint_d: Add passthru.tests.version
This commit is contained in:
parent
7ac7bd10e8
commit
e7c04b2414
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user