diff --git a/pkgs/development/tools/eslint_d/default.nix b/pkgs/by-name/es/eslint_d/package.nix similarity index 58% rename from pkgs/development/tools/eslint_d/default.nix rename to pkgs/by-name/es/eslint_d/package.nix index 6cd40d882f3b..6e6607372db9 100644 --- a/pkgs/development/tools/eslint_d/default.nix +++ b/pkgs/by-name/es/eslint_d/package.nix @@ -1,20 +1,22 @@ -{ lib, buildNpmPackage, fetchFromGitHub }: +{ lib, buildNpmPackage, fetchFromGitHub, eslint_d, testers }: buildNpmPackage rec { pname = "eslint_d"; - version = "14.0.3"; + version = "14.1.1"; src = fetchFromGitHub { owner = "mantoni"; repo = "eslint_d.js"; rev = "v${version}"; - hash = "sha256-r0pb9qbWfyVUHuHrNhiYm+0zlF5WId3dH7QCubzZDts="; + hash = "sha256-r+AQFFzB3PhvER6oVHpqQiFuaHuT+2O8gL2zu8aCTbs="; }; - npmDepsHash = "sha256-0Db18y7MUnnnr8v+bBOUhGBCsZcZ9OGtGqSVH7/wYQc="; + npmDepsHash = "sha256-XOFRzGPrisXE8GyqVO5xms+o9OwA9w0y+uJkcdyX+z0="; 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"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 019fdb734a4b..e9c67d18a97c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -745,8 +745,6 @@ with pkgs; erosmb = callPackage ../tools/security/erosmb { }; - eslint_d = callPackage ../development/tools/eslint_d { }; - oauth2c = callPackage ../tools/security/oauth2c { }; octodns = python3Packages.callPackage ../tools/networking/octodns { };