aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/balanced-match/default.nix
blob: ab4ef5a8a203c8eca96c9ef1db683deec3e98e71 (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
{ 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
  ];


  files = [
    "index.js"
  ];
}