about summary refs log tree commit diff
path: root/pkgs/development/nim-packages/regex/default.nix
blob: 03e4315a2c80c749c1542c6f4265cb1b1902437a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, buildNimPackage, fetchFromGitHub, unicodedb }:

buildNimPackage (finalAttrs: {
  pname = "regex";
  version = "0.20.2";
  src = fetchFromGitHub {
    owner = "nitely";
    repo = "nim-regex";
    rev = "v${finalAttrs.version}";
    hash = "sha256-VViDf0uD6bj9WOO827NRbLUt+PgBPEmz/A/DDRCrHpc=";
  };
  propagatedBuildInputs = [ unicodedb ];
  doCheck = false;
  meta = finalAttrs.src.meta // {
    description = "Pure Nim regex engine";
    homepage = "https://github.com/nitely/nim-regex";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ehmry ];
  };
})