diff options
-rw-r--r-- | npmPackages/bootstrap.nix | 7 | ||||
-rw-r--r-- | npmPackages/brace-expansion/default.nix | 27 | ||||
-rw-r--r-- | npmPackages/index.nix | 1 |
3 files changed, 35 insertions, 0 deletions
diff --git a/npmPackages/bootstrap.nix b/npmPackages/bootstrap.nix index f22b098..d34a545 100644 --- a/npmPackages/bootstrap.nix +++ b/npmPackages/bootstrap.nix @@ -60,6 +60,13 @@ in rec { tape = _dummy_tape; }); + _brace-expansion = dontCheck (callPackage ./brace-expansion { + balanced-match = _balanced-match; + concat-map = _concat-map; + matcha = _dummy_matcha; + tape = _dummy_tape; + }); + _callsites = dontCheck (callPackage ./callsites { ava = _dummy_ava; xo = _dummy_xo; diff --git a/npmPackages/brace-expansion/default.nix b/npmPackages/brace-expansion/default.nix new file mode 100644 index 0000000..c6065ee --- /dev/null +++ b/npmPackages/brace-expansion/default.nix @@ -0,0 +1,27 @@ +{ fetchurl, buildNpmPackage, balanced-match, concat-map, matcha, tape }: + +buildNpmPackage { + pname = "brace-expansion"; + version = "1.1.11"; + src = fetchurl { + url = "https://github.com/juliangruber/brace-expansion/archive/1.1.11.tar.gz"; + sha256 = "01ndknwgnb4mga5kzm55vv2nxgd88439h4asz7irdgshsqqp2gmz"; + }; + + meta = { + description = "Brace expansion as known from sh/bash"; + homepage = "https://github.com/juliangruber/brace-expansion"; + license = "MIT"; + }; + + npmInputs = [ + balanced-match concat-map matcha tape + ]; + + jailbreak = true; + + files = [ + "index.js" + ]; +} + diff --git a/npmPackages/index.nix b/npmPackages/index.nix index 666a136..277c4b1 100644 --- a/npmPackages/index.nix +++ b/npmPackages/index.nix @@ -7,6 +7,7 @@ in { async-foreach = callPackage ./async-foreach {}; balanced-match = callPackage ./balanced-match {}; bindings = callPackage ./bindings {}; + brace-expansion = callPackage ./brace-expansion {}; callsites = callPackage ./callsites {}; chartjs-color-string = callPackage ./chartjs-color-string {}; color-convert = callPackage ./color-convert {}; |