blob: ad612fa18af6b56b911783bd313fc6c8ff1d951d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper
, fontconfig, harfbuzz-icu, openssl, pkgconfig }:
rustPlatform.buildRustPackage rec {
name = "tectonic-${version}";
version = "0.1.7";
src = fetchFromGitHub {
owner = "tectonic-typesetting";
repo = "tectonic";
rev = "v${version}";
sha256 = "007l0l9xnyayiqiap22zlsp8l9afdw803064cj8inr3q7ckzfcpb";
};
cargoSha256 = "0kjy9zrjlrlkr2il62nz35hm1nndyym9dbnas43hzz7y8hdf859k";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ fontconfig harfbuzz-icu openssl ];
# tests fail due to read-only nix store
doCheck = false;
meta = with stdenv.lib; {
description = "Modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive";
homepage = https://tectonic-typesetting.github.io/;
license = with licenses; [ mit ];
maintainers = [ maintainers.lluchs ];
platforms = platforms.all;
};
}
|