aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/inflight/default.nix
blob: c9dc2086a001df624a9a765c4cf3fa5b9cd1a68b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}