lol

Merge pull request #102382 from doronbehar/pkg/tectonic

tectonic: 0.2.0 -> 0.3.0

authored by

Mario Rodas and committed by
GitHub
e5d23d1d 6330a9a9

+8 -3
+8 -3
pkgs/tools/typesetting/tectonic/default.nix
··· 3 3 4 4 rustPlatform.buildRustPackage rec { 5 5 pname = "tectonic"; 6 - version = "0.2.0"; 6 + version = "0.3.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "tectonic-typesetting"; 10 10 repo = "tectonic"; 11 11 rev = "tectonic@${version}"; 12 - sha256 = "+kHp5qy0lzT5sLoxC1tlW6oaKZ11vQF+30zW0wXlQBU="; 12 + sha256 = "yJzfymA4elyyeVR8FzTJe8wgs+vm3RWwcOh7IlmBYPE="; 13 13 }; 14 14 15 - cargoSha256 = "bsuNHqr/8OTG3LXd+PYPKsXEBpbcwxP4A7SEqLYNKU0="; 15 + cargoSha256 = "7zqr54H6GemiM/xuHOH6+s669IG2orj1neoqAH+wnV4="; 16 16 17 17 nativeBuildInputs = [ pkgconfig ]; 18 18 19 19 buildInputs = [ fontconfig harfbuzz openssl ] 20 20 ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]); 21 + 22 + postInstall = stdenv.lib.optionalString stdenv.isLinux '' 23 + install -D dist/appimage/tectonic.desktop -t $out/share/applications/ 24 + install -D dist/appimage/tectonic.svg -t $out/share/icons/hicolor/scalable/apps/ 25 + ''; 21 26 22 27 doCheck = true; 23 28