aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/balanced-match/default.nix
blob: 309a461f82cb805db2210096e35bdaa26e17fc8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ fetchurl, buildNpmPackage, matcha, tape }:

buildNpmPackage {
  pname = "balanced-match";
  version = "1.0.0";
  src = fetchurl {
    url = "https://github.com/juliangruber/balanced-match/archive/v1.0.0.tar.gz";
    sha256 = "0sqzdfnjqyw0kbwf459jwn7yds5gyf4b3jnr7779f79pqkngk86j";
  };

  meta = {
    description = "Match balanced character pairs, like \"{\" and \"}\"";
    homepage = "https://github.com/juliangruber/balanced-match";
    license = "MIT";
  };

  npmInputs = [
    matcha tape
  ];

  jailbreak = true;

  files = [
    "index.js"
  ];
}