diff --git a/pkgs/tools/typesetting/satysfi/default.nix b/pkgs/tools/typesetting/satysfi/default.nix index 6a2ebb089d21..13196556cd5a 100644 --- a/pkgs/tools/typesetting/satysfi/default.nix +++ b/pkgs/tools/typesetting/satysfi/default.nix @@ -15,27 +15,35 @@ let src = fetchFromGitHub { owner = "gfngfn"; repo = "camlpdf"; - rev = "v2.2.1+satysfi"; - sha256 = "1s8v2i8nq52kz038bvc2n0spz68fpdq6kgxrabcs6zvml6n1frzy"; + rev = "v2.2.2+satysfi"; + sha256 = "1dkyibjd8qb9fzljlzdsfdhb798vc9m8xqkd7295fm6bcfpr5r5k"; }; }); otfm = ocamlPackages.otfm.overrideAttrs (o: { src = fetchFromGitHub { owner = "gfngfn"; repo = "otfm"; - rev = "v0.3.2+satysfi"; - sha256 = "1h795pdi5qi2nwymsfvb53x56h9pqi9iiqbzw10mi6fazgd2dzhd"; + rev = "v0.3.7+satysfi"; + sha256 = "0y8s0ij1vp1s4h5y1hn3ns76fzki2ba5ysqdib33akdav9krbj8p"; + }; + }); + yojson = ocamlPackages.yojson.overrideAttrs (o: { + src = fetchFromGitHub { + owner = "gfngfn"; + repo = "yojson"; + rev = "v1.4.1+satysfi"; + sha256 = "06lajzycwmvc6s26cf40s9xn001cjxrpxijgfha3s4f4rpybb1mp"; }; }); in stdenv.mkDerivation rec { pname = "satysfi"; - version = "0.0.3"; + version = "0.0.4"; src = fetchFromGitHub { owner = "gfngfn"; repo = "SATySFi"; rev = "v${version}"; - sha256 = "0qk284jhxnfb69s24j397a6155dhl4dcgamicin7sq04d0wj6c7f"; + sha256 = "0ilvgixglklqwavf8p9mcbrjq6cjfm9pk4kqx163c0irh0lh0adv"; fetchSubmodules = true; }; @@ -49,7 +57,7 @@ in buildInputs = [ camlpdf otfm ] ++ (with ocamlPackages; [ ocaml findlib menhir - batteries camlimages core_kernel ppx_deriving uutf yojson + batteries camlimages core_kernel ppx_deriving uutf yojson omd cppo re ]); installPhase = '' @@ -58,6 +66,8 @@ in cp -r ${lm}/* lib-satysfi/dist/fonts/ cp -r ${lm-math}/otf/latinmodern-math.otf lib-satysfi/dist/fonts/ make install PREFIX=$out LIBDIR=$out/share/satysfi + mkdir -p $out/share/satysfi/ + cp -r lib-satysfi/dist/ $out/share/satysfi/ ''; meta = with stdenv.lib; {