aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npmPackages/bootstrap.nix5
-rw-r--r--npmPackages/index.nix1
-rw-r--r--npmPackages/minimatch/default.nix24
3 files changed, 30 insertions, 0 deletions
diff --git a/npmPackages/bootstrap.nix b/npmPackages/bootstrap.nix
index d34a545..9031243 100644
--- a/npmPackages/bootstrap.nix
+++ b/npmPackages/bootstrap.nix
@@ -108,6 +108,11 @@ in rec {
wrappy = _wrappy;
});
+ _minimatch = dontCheck (callPackage ./minimatch {
+ brace-expansion = _brace-expansion;
+ tap = _dummy_tap;
+ });
+
_minimist = dontCheck (callPackage ./minimist {
covert = _dummy_covert;
tap = _dummy_tap;
diff --git a/npmPackages/index.nix b/npmPackages/index.nix
index 277c4b1..39192d8 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 {};
+ minimatch = callPackage ./minimatch {};
minimist = callPackage ./minimist {};
mkdirp = callPackage ./mkdirp {};
npm4nix = callPackage ./npm4nix {};
diff --git a/npmPackages/minimatch/default.nix b/npmPackages/minimatch/default.nix
new file mode 100644
index 0000000..52228b2
--- /dev/null
+++ b/npmPackages/minimatch/default.nix
@@ -0,0 +1,24 @@
+{ fetchurl, buildNpmPackage, brace-expansion, tap }:
+
+buildNpmPackage {
+ pname = "minimatch";
+ version = "3.0.4";
+ src = fetchurl {
+ url = "https://github.com/isaacs/minimatch/archive/v3.0.4.tar.gz";
+ sha256 = "0wla3cbrnm55nx5x1fgaax8a89pyz5hrb29f4fbw1a11v12mjasd";
+ };
+
+ meta = {
+ description = "a glob matcher in javascript";
+ homepage = "";
+ license = "ISC";
+ };
+
+ npmInputs = [
+ brace-expansion tap
+ ];
+
+ jailbreak = true;
+
+}
+