diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-10-12 20:06:08 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-10-12 20:06:08 +0200 |
commit | 895f1f156d214a850d8a9b994e6a54589b2e20c7 (patch) | |
tree | 5db7a7b9ba1257f7afd055488108036ae387b4da | |
parent | 46fda46ea89bd6eebe55576575afb2f5dc431f2a (diff) | |
download | npm.nix-895f1f156d214a850d8a9b994e6a54589b2e20c7.tar.gz |
Add inherits
-rw-r--r-- | npmPackages/bootstrap.nix | 4 | ||||
-rw-r--r-- | npmPackages/index.nix | 1 | ||||
-rw-r--r-- | npmPackages/inherits/default.nix | 23 |
3 files changed, 28 insertions, 0 deletions
diff --git a/npmPackages/bootstrap.nix b/npmPackages/bootstrap.nix index 9031243..e2eecf1 100644 --- a/npmPackages/bootstrap.nix +++ b/npmPackages/bootstrap.nix @@ -108,6 +108,10 @@ in rec { wrappy = _wrappy; }); + _inherits = dontCheck (callPackage ./inherits { + tap = _dummy_tap; + }); + _minimatch = dontCheck (callPackage ./minimatch { brace-expansion = _brace-expansion; tap = _dummy_tap; diff --git a/npmPackages/index.nix b/npmPackages/index.nix index 39192d8..b56647b 100644 --- a/npmPackages/index.nix +++ b/npmPackages/index.nix @@ -18,6 +18,7 @@ in { file-uri-to-path = callPackage ./file-uri-to-path {}; has-flag = callPackage ./has-flag {}; inflight = callPackage ./inflight {}; + inherits = callPackage ./inherits {}; minimatch = callPackage ./minimatch {}; minimist = callPackage ./minimist {}; mkdirp = callPackage ./mkdirp {}; diff --git a/npmPackages/inherits/default.nix b/npmPackages/inherits/default.nix new file mode 100644 index 0000000..a03afdd --- /dev/null +++ b/npmPackages/inherits/default.nix @@ -0,0 +1,23 @@ +{ fetchurl, buildNpmPackage, tap }: + +buildNpmPackage { + pname = "inherits"; + version = "2.0.4"; + src = fetchurl { + url = "https://github.com/isaacs/inherits/archive/v2.0.4.tar.gz"; + sha256 = "0qbilb4qal96a5qi9a9pqw8gxjj72g4yxzjf7a1sphv3qbmr9ix6"; + }; + + meta = { + description = "Browser-friendly inheritance fully compatible with standard node.js inherits()"; + homepage = ""; + license = "ISC"; + }; + + npmInputs = [ + tap + ]; + + jailbreak = true; +} + |