aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/escape-string-regexp
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-10-05 14:40:17 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-10-05 14:40:17 +0200
commit953ba669208dd979e4286a5d2332905ea5cff346 (patch)
tree413ac4595c8b4b8e00f483e266c3c3f943d74b77 /npmPackages/escape-string-regexp
parent67fd24a80ecf2d809e95064772713ace9b0bae6b (diff)
downloadnpm.nix-953ba669208dd979e4286a5d2332905ea5cff346.tar.gz
Add escape-string-regexp
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;
+}
+