diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/yuscii/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/yuscii/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/yuscii/default.nix b/nixpkgs/pkgs/development/ocaml-modules/yuscii/default.nix new file mode 100644 index 000000000000..9d7b5d3c4d6b --- /dev/null +++ b/nixpkgs/pkgs/development/ocaml-modules/yuscii/default.nix @@ -0,0 +1,35 @@ +{ alcotest +, buildDunePackage +, fetchzip +, gcc +, fmt +, lib +, uutf +}: + +buildDunePackage rec { + pname = "yuscii"; + version = "0.3.0"; + + src = fetchzip { + url = "https://github.com/mirage/yuscii/releases/download/v${version}/yuscii-v${version}.tbz"; + sha256 = "0idywlkw0fbakrxv65swnr5bj7f2vns9kpay7q03gzlv82p670hy"; + }; + + useDune2 = true; + + checkInputs = [ + gcc + alcotest + fmt + uutf + ]; + doCheck = true; + + meta = { + description = "A simple mapper between UTF-7 to Unicode according RFC2152"; + license = lib.licenses.mit; + homepage = "https://github.com/mirage/yuscii"; + maintainers = with lib.maintainers; [ ]; + }; +} |