From d5294f7359beb3a149cf55d9021e69ce118dff4e Mon Sep 17 00:00:00 2001 From: wisut hantanong Date: Mon, 7 Aug 2017 15:52:35 +0700 Subject: [PATCH] nodePackages.jsonlint init : at 1.6.2 --- .../node-packages/node-packages-v6.json | 1 + .../node-packages/node-packages-v6.nix | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/pkgs/development/node-packages/node-packages-v6.json b/pkgs/development/node-packages/node-packages-v6.json index 1da53d8e7739..1941d9821b42 100644 --- a/pkgs/development/node-packages/node-packages-v6.json +++ b/pkgs/development/node-packages/node-packages-v6.json @@ -33,6 +33,7 @@ , "jshint" , "json" , "js-beautify" +, "jsonlint" , "jsontool" , "json-refs" , "json-server" diff --git a/pkgs/development/node-packages/node-packages-v6.nix b/pkgs/development/node-packages/node-packages-v6.nix index 229c5743a4d6..f4f225ec5854 100644 --- a/pkgs/development/node-packages/node-packages-v6.nix +++ b/pkgs/development/node-packages/node-packages-v6.nix @@ -25643,6 +25643,30 @@ in }; production = true; }; + jsonlint = nodeEnv.buildNodePackage { + name = "jsonlint"; + packageName = "jsonlint"; + version = "1.6.2"; + src = fetchurl { + url = "https://registry.npmjs.org/jsonlint/-/jsonlint-1.6.2.tgz"; + sha1 = "5737045085f55eb455c68b1ff4ebc01bd50e8830"; + }; + dependencies = [ + sources."nomnom-1.8.1" + sources."JSV-4.0.2" + sources."underscore-1.6.0" + sources."chalk-0.4.0" + sources."has-color-0.1.7" + sources."ansi-styles-1.0.0" + sources."strip-ansi-0.1.1" + ]; + buildInputs = globalBuildInputs; + meta = { + description = "Validate JSON"; + homepage = http://zaach.github.com/jsonlint/; + }; + production = true; + }; jsontool = nodeEnv.buildNodePackage { name = "jsontool"; packageName = "jsontool";