diff options
-rw-r--r-- | npmPackages/bootstrap.nix | 6 | ||||
-rw-r--r-- | npmPackages/callsites/default.nix | 23 | ||||
-rw-r--r-- | npmPackages/index.nix | 1 |
3 files changed, 30 insertions, 0 deletions
diff --git a/npmPackages/bootstrap.nix b/npmPackages/bootstrap.nix index 8cce201..a5d3feb 100644 --- a/npmPackages/bootstrap.nix +++ b/npmPackages/bootstrap.nix @@ -48,6 +48,12 @@ in rec { xo = _dummy_xo; }); + _callsites = dontCheck (callPackage ./callsites { + ava = _dummy_ava; + xo = _dummy_xo; + tsd = _dummy_tsd; + }); + _color-convert = dontCheck (callPackage ./color-convert { chalk = _dummy_chalk; xo = _dummy_xo; diff --git a/npmPackages/callsites/default.nix b/npmPackages/callsites/default.nix new file mode 100644 index 0000000..45d2fe9 --- /dev/null +++ b/npmPackages/callsites/default.nix @@ -0,0 +1,23 @@ +{ fetchurl, buildNpmPackage, ava, tsd, xo }: + +buildNpmPackage { + pname = "callsites"; + version = "3.1.0"; + src = fetchurl { + url = "https://github.com/sindresorhus/callsites/archive/v3.1.0.tar.gz"; + sha256 = "0pmxi3420qgxxm6bn1zvql3ig0sky288cml7gcbm9n3p96idd18q"; + }; + + meta = { + description = "Get callsites from the V8 stack trace API"; + homepage = ""; + license = "MIT"; + }; + + npmInputs = [ + ava tsd xo + ]; + + jailbreak = true; +} + diff --git a/npmPackages/index.nix b/npmPackages/index.nix index c9d19bd..26cf0ed 100644 --- a/npmPackages/index.nix +++ b/npmPackages/index.nix @@ -5,6 +5,7 @@ let in { ansi-styles = callPackage ./ansi-styles {}; async-foreach = callPackage ./async-foreach {}; + callsites = callPackage ./callsites {}; chartjs-color-string = callPackage ./chartjs-color-string {}; color-convert = callPackage ./color-convert {}; color-name = callPackage ./color-name {}; |