depot/pkgs/development/ocaml-modules/yuscii/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

39 lines
736 B
Nix

{ alcotest
, buildDunePackage
, ocaml
, fetchzip
, gcc
, fmt
, lib
, uutf
}:
buildDunePackage rec {
pname = "yuscii";
version = "0.3.0";
minimalOCamlVersion = "4.03";
duneVersion = "3";
src = fetchzip {
url = "https://github.com/mirage/yuscii/releases/download/v${version}/yuscii-v${version}.tbz";
sha256 = "0idywlkw0fbakrxv65swnr5bj7f2vns9kpay7q03gzlv82p670hy";
};
nativeCheckInputs = [
gcc
];
checkInputs = [
alcotest
fmt
uutf
];
doCheck = lib.versionAtLeast ocaml.version "4.08";
meta = {
description = "Simple mapper between UTF-7 to Unicode according RFC2152";
license = lib.licenses.mit;
homepage = "https://github.com/mirage/yuscii";
maintainers = [ ];
};
}