From 953ba669208dd979e4286a5d2332905ea5cff346 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 5 Oct 2019 14:40:17 +0200 Subject: Add escape-string-regexp --- npmPackages/escape-string-regexp/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 npmPackages/escape-string-regexp/default.nix (limited to 'npmPackages/escape-string-regexp') 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; +} + -- cgit v1.2.3