aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npmPackages/bootstrap.nix4
-rw-r--r--npmPackages/concat-map/default.nix27
-rw-r--r--npmPackages/index.nix1
3 files changed, 32 insertions, 0 deletions
diff --git a/npmPackages/bootstrap.nix b/npmPackages/bootstrap.nix
index 6db650d..f22b098 100644
--- a/npmPackages/bootstrap.nix
+++ b/npmPackages/bootstrap.nix
@@ -71,6 +71,10 @@ in rec {
xo = _dummy_xo;
});
+ _concat-map = dontCheck (callPackage ./concat-map {
+ tape = _dummy_tape;
+ });
+
_escape-string-regexp = dontCheck (callPackage ./escape-string-regexp {
ava = _dummy_ava;
xo = _dummy_xo;
diff --git a/npmPackages/concat-map/default.nix b/npmPackages/concat-map/default.nix
new file mode 100644
index 0000000..2484b4a
--- /dev/null
+++ b/npmPackages/concat-map/default.nix
@@ -0,0 +1,27 @@
+{ fetchurl, buildNpmPackage, tape }:
+
+buildNpmPackage {
+ pname = "concat-map";
+ version = "0.0.1";
+ src = fetchurl {
+ url = "https://github.com/substack/node-concat-map/archive/0.0.1.tar.gz";
+ sha256 = "0vr53dsjbdr5x9ywcrgjxj08dp5z3c4hkhv9rsppmd66ibpq0rlk";
+ };
+
+ meta = {
+ description = "concatenative mapdashery";
+ homepage = "";
+ license = "MIT";
+ };
+
+ npmInputs = [
+ tape
+ ];
+
+ jailbreak = true;
+
+ files = [
+ "index.js"
+ ];
+}
+
diff --git a/npmPackages/index.nix b/npmPackages/index.nix
index 00ed29d..666a136 100644
--- a/npmPackages/index.nix
+++ b/npmPackages/index.nix
@@ -11,6 +11,7 @@ in {
chartjs-color-string = callPackage ./chartjs-color-string {};
color-convert = callPackage ./color-convert {};
color-name = callPackage ./color-name {};
+ concat-map = callPackage ./concat-map {};
escape-string-regexp = callPackage ./escape-string-regexp {};
fibers = callPackage ./fibers {};
file-uri-to-path = callPackage ./file-uri-to-path {};