mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
commit
4565378641
33
pkgs/tools/typesetting/tectonic/default.nix
Normal file
33
pkgs/tools/typesetting/tectonic/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -10397,6 +10397,8 @@ with pkgs;
|
||||
|
||||
tecla = callPackage ../development/libraries/tecla { };
|
||||
|
||||
tectonic = callPackage ../tools/typesetting/tectonic { };
|
||||
|
||||
telepathy_glib = callPackage ../development/libraries/telepathy/glib { };
|
||||
|
||||
telepathy_farstream = callPackage ../development/libraries/telepathy/farstream {};
|
||||
|
Loading…
Reference in New Issue
Block a user