Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 base, 6 ppx_deriving, 7 ppx_inline_test, 8 uutf, 9 alcotest, 10}: 11 12buildDunePackage rec { 13 pname = "otfed"; 14 version = "0.3.1"; 15 16 minimalOCamlVersion = "4.08"; 17 18 src = fetchFromGitHub { 19 owner = "gfngfn"; 20 repo = pname; 21 rev = version; 22 hash = "sha256-6QCom9nrz0B5vCmuBzqsM0zCs8tBLJC6peig+vCgMVA="; 23 }; 24 25 buildInputs = [ 26 uutf 27 ]; 28 29 propagatedBuildInputs = [ 30 base 31 ppx_deriving 32 ppx_inline_test 33 ]; 34 35 checkInputs = [ 36 alcotest 37 ]; 38 39 doCheck = true; 40 41 meta = { 42 homepage = "https://github.com/gfngfn/otfed"; 43 description = "OpenType Font Format Encoder & Decoder"; 44 license = lib.licenses.mit; 45 maintainers = [ lib.maintainers.vbgl ]; 46 }; 47}