aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/escape-string-regexp
diff options
context:
space:
mode:
Diffstat (limited to 'npmPackages/escape-string-regexp')
-rw-r--r--npmPackages/escape-string-regexp/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/npmPackages/escape-string-regexp/default.nix b/npmPackages/escape-string-regexp/default.nix
new file mode 100644
index 0000000..5bf898f
--- /dev/null
+++ b/npmPackages/escape-string-regexp/default.nix
@@ -0,0 +1,23 @@
+{ fetchurl, buildNpmPackage, ava, tsd, xo }:
+
+buildNpmPackage {
+ pname = "escape-string-regexp";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://github.com/sindresorhus/escape-string-regexp/archive/v2.0.0.tar.gz";
+ sha256 = "0vvh2byyfh0k2wh6zgnqkr2vnyhxfmnirwn5dfvcga5j3kn9zlrl";
+ };
+
+ meta = {
+ description = "Escape RegExp special characters";
+ homepage = "";
+ license = "MIT";
+ };
+
+ npmInputs = [
+ ava tsd xo
+ ];
+
+ jailbreak = true;
+}
+