Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6330a9a998ea
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e5d23d1d2edf
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 1, 2020

  1. tectonic: 0.2.0 -> 0.3.0

    doronbehar committed Nov 1, 2020
    Copy the full SHA
    78d51ab View commit details
  2. Copy the full SHA
    4882514 View commit details
  3. Merge pull request #102382 from doronbehar/pkg/tectonic

    tectonic: 0.2.0 -> 0.3.0
    marsam authored Nov 1, 2020
    Copy the full SHA
    e5d23d1 View commit details
Showing with 8 additions and 3 deletions.
  1. +8 −3 pkgs/tools/typesetting/tectonic/default.nix
11 changes: 8 additions & 3 deletions pkgs/tools/typesetting/tectonic/default.nix
Original file line number Diff line number Diff line change
@@ -3,22 +3,27 @@

rustPlatform.buildRustPackage rec {
pname = "tectonic";
version = "0.2.0";
version = "0.3.0";

src = fetchFromGitHub {
owner = "tectonic-typesetting";
repo = "tectonic";
rev = "tectonic@${version}";
sha256 = "+kHp5qy0lzT5sLoxC1tlW6oaKZ11vQF+30zW0wXlQBU=";
sha256 = "yJzfymA4elyyeVR8FzTJe8wgs+vm3RWwcOh7IlmBYPE=";
};

cargoSha256 = "bsuNHqr/8OTG3LXd+PYPKsXEBpbcwxP4A7SEqLYNKU0=";
cargoSha256 = "7zqr54H6GemiM/xuHOH6+s669IG2orj1neoqAH+wnV4=";

nativeBuildInputs = [ pkgconfig ];

buildInputs = [ fontconfig harfbuzz openssl ]
++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]);

postInstall = stdenv.lib.optionalString stdenv.isLinux ''
install -D dist/appimage/tectonic.desktop -t $out/share/applications/
install -D dist/appimage/tectonic.svg -t $out/share/icons/hicolor/scalable/apps/
'';

doCheck = true;

meta = with stdenv.lib; {