From 8e828bb65721319a5d7f936e7d4e67e938f0520e Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 12 Oct 2019 19:52:14 +0200 Subject: Add brace-expansion --- npmPackages/brace-expansion/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 npmPackages/brace-expansion/default.nix (limited to 'npmPackages/brace-expansion/default.nix') diff --git a/npmPackages/brace-expansion/default.nix b/npmPackages/brace-expansion/default.nix new file mode 100644 index 0000000..c6065ee --- /dev/null +++ b/npmPackages/brace-expansion/default.nix @@ -0,0 +1,27 @@ +{ fetchurl, buildNpmPackage, balanced-match, concat-map, matcha, tape }: + +buildNpmPackage { + pname = "brace-expansion"; + version = "1.1.11"; + src = fetchurl { + url = "https://github.com/juliangruber/brace-expansion/archive/1.1.11.tar.gz"; + sha256 = "01ndknwgnb4mga5kzm55vv2nxgd88439h4asz7irdgshsqqp2gmz"; + }; + + meta = { + description = "Brace expansion as known from sh/bash"; + homepage = "https://github.com/juliangruber/brace-expansion"; + license = "MIT"; + }; + + npmInputs = [ + balanced-match concat-map matcha tape + ]; + + jailbreak = true; + + files = [ + "index.js" + ]; +} + -- cgit v1.2.3