aboutsummaryrefslogtreecommitdiff
path: root/npmPackages
diff options
context:
space:
mode:
Diffstat (limited to 'npmPackages')
-rw-r--r--npmPackages/bootstrap.nix6
-rw-r--r--npmPackages/index.nix1
-rw-r--r--npmPackages/inflight/default.nix23
3 files changed, 30 insertions, 0 deletions
diff --git a/npmPackages/bootstrap.nix b/npmPackages/bootstrap.nix
index 7fc8f7f..a4625e9 100644
--- a/npmPackages/bootstrap.nix
+++ b/npmPackages/bootstrap.nix
@@ -85,6 +85,12 @@ in rec {
tsd = _dummy_tsd;
});
+ _inflight = dontCheck (callPackage ./inflight {
+ once = _once;
+ tap = _dummy_tap;
+ wrappy = _wrappy;
+ });
+
_minimist = dontCheck (callPackage ./minimist {
covert = _dummy_covert;
tap = _dummy_tap;
diff --git a/npmPackages/index.nix b/npmPackages/index.nix
index cb0c133..6fe5ec9 100644
--- a/npmPackages/index.nix
+++ b/npmPackages/index.nix
@@ -14,6 +14,7 @@ in {
fibers = callPackage ./fibers {};
file-uri-to-path = callPackage ./file-uri-to-path {};
has-flag = callPackage ./has-flag {};
+ inflight = callPackage ./inflight {};
minimist = callPackage ./minimist {};
mkdirp = callPackage ./mkdirp {};
npm4nix = callPackage ./npm4nix {};
diff --git a/npmPackages/inflight/default.nix b/npmPackages/inflight/default.nix
new file mode 100644
index 0000000..c9dc208
--- /dev/null
+++ b/npmPackages/inflight/default.nix
@@ -0,0 +1,23 @@
+{ fetchurl, buildNpmPackage, once, tap, wrappy }:
+
+buildNpmPackage {
+ pname = "inflight";
+ version = "1.0.6";
+ src = fetchurl {
+ url = "https://github.com/npm/inflight/archive/v1.0.6.tar.gz";
+ sha256 = "04viwwgwkgmg01n29hz15qf16gdxjvyjaz61ncn7a81pz9laq7bd";
+ };
+
+ meta = {
+ description = "Add callbacks to requests in flight to avoid async duplication";
+ homepage = "https://github.com/isaacs/inflight";
+ license = "ISC";
+ };
+
+ npmInputs = [
+ once tap wrappy
+ ];
+
+ jailbreak = true;
+}
+