Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 alcotest, 3 buildDunePackage, 4 ocaml, 5 fetchzip, 6 gcc, 7 fmt, 8 lib, 9 uutf, 10}: 11 12buildDunePackage rec { 13 pname = "yuscii"; 14 version = "0.3.0"; 15 16 minimalOCamlVersion = "4.03"; 17 duneVersion = "3"; 18 19 src = fetchzip { 20 url = "https://github.com/mirage/yuscii/releases/download/v${version}/yuscii-v${version}.tbz"; 21 sha256 = "0idywlkw0fbakrxv65swnr5bj7f2vns9kpay7q03gzlv82p670hy"; 22 }; 23 24 nativeCheckInputs = [ 25 gcc 26 ]; 27 checkInputs = [ 28 alcotest 29 fmt 30 uutf 31 ]; 32 doCheck = lib.versionAtLeast ocaml.version "4.08"; 33 34 meta = { 35 description = "Simple mapper between UTF-7 to Unicode according RFC2152"; 36 license = lib.licenses.mit; 37 homepage = "https://github.com/mirage/yuscii"; 38 maintainers = [ ]; 39 }; 40}