diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-08-22 20:38:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 20:38:14 +0100 |
commit | 4565378641e668a15ba0d03a6ecec297551c74f9 (patch) | |
tree | 0bbe0a86614bf8754efe292f759e7b5c6de0f43f /pkgs/tools/typesetting | |
parent | c9bb37862206ce595ad79e25ee491eaaadc33ad0 (diff) | |
parent | 6922a48fe13e7a79ff684cc89d5e0766062100de (diff) | |
download | nixlib-4565378641e668a15ba0d03a6ecec297551c74f9.tar nixlib-4565378641e668a15ba0d03a6ecec297551c74f9.tar.gz nixlib-4565378641e668a15ba0d03a6ecec297551c74f9.tar.bz2 nixlib-4565378641e668a15ba0d03a6ecec297551c74f9.tar.lz nixlib-4565378641e668a15ba0d03a6ecec297551c74f9.tar.xz nixlib-4565378641e668a15ba0d03a6ecec297551c74f9.tar.zst nixlib-4565378641e668a15ba0d03a6ecec297551c74f9.zip |
Merge pull request #28473 from lluchs/tectonic
tectonic: init at 0.1.6
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r-- | pkgs/tools/typesetting/tectonic/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tectonic/default.nix b/pkgs/tools/typesetting/tectonic/default.nix new file mode 100644 index 000000000000..f6c3be63e033 --- /dev/null +++ b/pkgs/tools/typesetting/tectonic/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper +, fontconfig, harfbuzz-icu, openssl, pkgconfig }: + +with rustPlatform; + +buildRustPackage rec { + name = "tectonic-${version}"; + version = "0.1.6"; + + src = fetchFromGitHub { + owner = "tectonic-typesetting"; + repo = "tectonic"; + rev = "v${version}"; + sha256 = "0k5vkn112bjwh4wnxryzqz79dlja64k7s105mf3yaik136hqnmqv"; + }; + + depsSha256 = "1vxvkh1v9x6j4ggbh6sysi5i3089hrs0mjbp910a1jljiav7l8nj"; + + 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; + }; +} |