diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-10-12 19:47:05 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-10-12 19:47:05 +0200 |
commit | 10fe4883ae783cae07a8e22443118b756a7c466f (patch) | |
tree | 436eed265f5d76e2f617f81c4c60d48c464d7039 | |
parent | 4d695123d70110bd736fd3dc76bcc0e7fa561f64 (diff) | |
download | npm.nix-10fe4883ae783cae07a8e22443118b756a7c466f.tar.gz |
Add concat-map
-rw-r--r-- | npmPackages/bootstrap.nix | 4 | ||||
-rw-r--r-- | npmPackages/concat-map/default.nix | 27 | ||||
-rw-r--r-- | npmPackages/index.nix | 1 |
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 {}; |