From 7ac7bd10e8c58a3fb96988c03f56b873222fbd00 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Sat, 12 Oct 2024 15:51:59 +0200 Subject: [PATCH 1/3] eslint_d: 14.0.3 -> 14.1.1 --- pkgs/development/tools/eslint_d/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/eslint_d/default.nix b/pkgs/development/tools/eslint_d/default.nix index 6cd40d882f3bb..2db75a73cffce 100644 --- a/pkgs/development/tools/eslint_d/default.nix +++ b/pkgs/development/tools/eslint_d/default.nix @@ -2,16 +2,16 @@ 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; From e7c04b24148a11d25a6157db7e07264520f24328 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Sat, 12 Oct 2024 16:05:16 +0200 Subject: [PATCH 2/3] eslint_d: Add passthru.tests.version --- pkgs/development/tools/eslint_d/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/eslint_d/default.nix b/pkgs/development/tools/eslint_d/default.nix index 2db75a73cffce..6e6607372db9e 100644 --- a/pkgs/development/tools/eslint_d/default.nix +++ b/pkgs/development/tools/eslint_d/default.nix @@ -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"; From 6b6ffbd802e4086a9555259a456e6f0da1f8a88f Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Sun, 13 Oct 2024 15:45:46 +0200 Subject: [PATCH 3/3] eslint_d: Move to pkgs/by-name/ folder --- .../eslint_d/default.nix => by-name/es/eslint_d/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{development/tools/eslint_d/default.nix => by-name/es/eslint_d/package.nix} (100%) diff --git a/pkgs/development/tools/eslint_d/default.nix b/pkgs/by-name/es/eslint_d/package.nix similarity index 100% rename from pkgs/development/tools/eslint_d/default.nix rename to pkgs/by-name/es/eslint_d/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2d21ffc081ef3..74f0815f04ed4 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 { };