diff options
Diffstat (limited to 'pkgs/development/nim-packages')
-rw-r--r-- | pkgs/development/nim-packages/unicodedb/default.nix | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/pkgs/development/nim-packages/unicodedb/default.nix b/pkgs/development/nim-packages/unicodedb/default.nix index 8b60710e82106..cbc897a1fc4eb 100644 --- a/pkgs/development/nim-packages/unicodedb/default.nix +++ b/pkgs/development/nim-packages/unicodedb/default.nix @@ -1,8 +1,18 @@ -{ fetchFromGitHub }: +{ lib, buildNimPackage, fetchFromGitHub }: -fetchFromGitHub { - owner = "nitely"; - repo = "nim-unicodedb"; - rev = "v0.9.0"; - sha256 = "06j8d0bjbpv1iibqlmrac4qb61ggv17hvh6nv4pbccqk1rlpxhsq"; -} +buildNimPackage (finalAttrs: { + pname = "unicodedb"; + version = "0.12.0"; + src = fetchFromGitHub { + owner = "nitely"; + repo = "nim-unicodedb"; + rev = finalAttrs.version; + hash = "sha256-vtksdRTWH/Fjp1z8KSFGjgn1SRUxtUZwlOa+vMuB53A="; + }; + meta = finalAttrs.src.meta // { + description = "Unicode Character Database (UCD, tr44) for Nim"; + homepage = "https://github.com/nitely/nim-unicodedb"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ehmry ]; + }; +}) |