satysfi: 0.0.3 -> 0.0.4
This commit is contained in:
parent
ed582c76ab
commit
7ea0c42a83
1 changed files with 17 additions and 7 deletions
|
@ -15,27 +15,35 @@ let
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gfngfn";
|
owner = "gfngfn";
|
||||||
repo = "camlpdf";
|
repo = "camlpdf";
|
||||||
rev = "v2.2.1+satysfi";
|
rev = "v2.2.2+satysfi";
|
||||||
sha256 = "1s8v2i8nq52kz038bvc2n0spz68fpdq6kgxrabcs6zvml6n1frzy";
|
sha256 = "1dkyibjd8qb9fzljlzdsfdhb798vc9m8xqkd7295fm6bcfpr5r5k";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
otfm = ocamlPackages.otfm.overrideAttrs (o: {
|
otfm = ocamlPackages.otfm.overrideAttrs (o: {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gfngfn";
|
owner = "gfngfn";
|
||||||
repo = "otfm";
|
repo = "otfm";
|
||||||
rev = "v0.3.2+satysfi";
|
rev = "v0.3.7+satysfi";
|
||||||
sha256 = "1h795pdi5qi2nwymsfvb53x56h9pqi9iiqbzw10mi6fazgd2dzhd";
|
sha256 = "0y8s0ij1vp1s4h5y1hn3ns76fzki2ba5ysqdib33akdav9krbj8p";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
yojson = ocamlPackages.yojson.overrideAttrs (o: {
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "gfngfn";
|
||||||
|
repo = "yojson";
|
||||||
|
rev = "v1.4.1+satysfi";
|
||||||
|
sha256 = "06lajzycwmvc6s26cf40s9xn001cjxrpxijgfha3s4f4rpybb1mp";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "satysfi";
|
pname = "satysfi";
|
||||||
version = "0.0.3";
|
version = "0.0.4";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gfngfn";
|
owner = "gfngfn";
|
||||||
repo = "SATySFi";
|
repo = "SATySFi";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0qk284jhxnfb69s24j397a6155dhl4dcgamicin7sq04d0wj6c7f";
|
sha256 = "0ilvgixglklqwavf8p9mcbrjq6cjfm9pk4kqx163c0irh0lh0adv";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -49,7 +57,7 @@ in
|
||||||
|
|
||||||
buildInputs = [ camlpdf otfm ] ++ (with ocamlPackages; [
|
buildInputs = [ camlpdf otfm ] ++ (with ocamlPackages; [
|
||||||
ocaml findlib menhir
|
ocaml findlib menhir
|
||||||
batteries camlimages core_kernel ppx_deriving uutf yojson
|
batteries camlimages core_kernel ppx_deriving uutf yojson omd cppo re
|
||||||
]);
|
]);
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -58,6 +66,8 @@ in
|
||||||
cp -r ${lm}/* lib-satysfi/dist/fonts/
|
cp -r ${lm}/* lib-satysfi/dist/fonts/
|
||||||
cp -r ${lm-math}/otf/latinmodern-math.otf lib-satysfi/dist/fonts/
|
cp -r ${lm-math}/otf/latinmodern-math.otf lib-satysfi/dist/fonts/
|
||||||
make install PREFIX=$out LIBDIR=$out/share/satysfi
|
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; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue