diff options
Diffstat (limited to 'npmPackages')
-rw-r--r-- | npmPackages/bootstrap.nix | 5 | ||||
-rw-r--r-- | npmPackages/index.nix | 1 | ||||
-rw-r--r-- | npmPackages/once/default.nix | 23 |
3 files changed, 29 insertions, 0 deletions
diff --git a/npmPackages/bootstrap.nix b/npmPackages/bootstrap.nix index feffbe3..7fc8f7f 100644 --- a/npmPackages/bootstrap.nix +++ b/npmPackages/bootstrap.nix @@ -97,6 +97,11 @@ in rec { tap = _dummy_tap; }); + _once = dontCheck (callPackage ./once { + tap = _dummy_tap; + wrappy = _wrappy; + }); + _parent-module = dontCheck (callPackage ./parent-module { ava = _dummy_ava; callsites = _callsites; diff --git a/npmPackages/index.nix b/npmPackages/index.nix index 7dd4a30..cb0c133 100644 --- a/npmPackages/index.nix +++ b/npmPackages/index.nix @@ -17,6 +17,7 @@ in { minimist = callPackage ./minimist {}; mkdirp = callPackage ./mkdirp {}; npm4nix = callPackage ./npm4nix {}; + once = callPackage ./once {}; parent-module = callPackage ./parent-module {}; posix-getopt = callPackage ./posix-getopt {}; resolve-from = callPackage ./resolve-from {}; diff --git a/npmPackages/once/default.nix b/npmPackages/once/default.nix new file mode 100644 index 0000000..fe7db0e --- /dev/null +++ b/npmPackages/once/default.nix @@ -0,0 +1,23 @@ +{ fetchurl, buildNpmPackage, tap, wrappy }: + +buildNpmPackage { + pname = "once"; + version = "1.4.0"; + src = fetchurl { + url = "https://github.com/isaacs/once/archive/v1.4.0.tar.gz"; + sha256 = "1ddb3cr72ad49wr51g9kcahnvcib2pvix9w8cbha2q4lfp8nbkai"; + }; + + meta = { + description = "Run a function exactly one time"; + homepage = ""; + license = "ISC"; + }; + + npmInputs = [ + tap wrappy + ]; + + jailbreak = true; +} + |