1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

Merge pull request #318632 from r-ryantm/auto-update/texpresso

texpresso: 0-unstable-2024-05-23 -> 0-unstable-2024-06-22
This commit is contained in:
Weijia Wang 2024-07-08 00:59:49 +02:00 committed by GitHub
commit 3d37c0077d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 5 deletions

View file

@ -17,7 +17,13 @@
stdenv.mkDerivation rec {
pname = "texpresso";
version = "0-unstable-2024-05-23";
version = "0-unstable-2024-06-22";
postPatch = ''
substituteInPlace Makefile \
--replace-fail "CC=gcc" "CC=${stdenv.cc.targetPrefix}cc" \
--replace-fail "LDCC=g++" "LDCC=${stdenv.cc.targetPrefix}c++"
'';
nativeBuildInputs = [
makeWrapper
@ -35,12 +41,16 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "let-def";
repo = "texpresso";
rev = "01cafac1ec6d33d5e169a0202f23a6f565cc55b8";
hash = "sha256-uLGanGEUGzxIYFbU3U8LLV3bpn/IN9XltvWCmwSlD7E=";
rev = "e1e05f5559751d4b50772cd51d14101be0563ce1";
hash = "sha256-av1yadR2giJUxFQuHSXFgTbCNsmccrzKOmLVnAGJt6c=";
};
buildFlags = [ "texpresso" ];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
"-Wno-error=implicit-function-declaration"
]);
installPhase = ''
runHook preInstall
install -Dm0755 -t "$out/bin/" "build/${pname}"
@ -70,5 +80,6 @@ stdenv.mkDerivation rec {
description = "Live rendering and error reporting for LaTeX";
maintainers = with lib.maintainers; [ nickhu ];
license = lib.licenses.mit;
platforms = lib.platforms.unix;
};
}

View file

@ -6,8 +6,8 @@ tectonic-unwrapped.override (old: {
src = fetchFromGitHub {
owner = "let-def";
repo = "tectonic";
rev = "bc522fabfdd17099deac2e12662b2a0810ceb104";
hash = "sha256-0esXnUML6C9DYrpmBBB+ACypLvnLsYE9fuNiiCFfYzw=";
rev = "b38cb3b2529bba947d520ac29fbb7873409bd270";
hash = "sha256-ap7fEPHsASAphIQkjcvk1CC7egTdxaUh7IpSS5os4W8=";
fetchSubmodules = true;
};
cargoHash = "sha256-62sxvPIiY3len1wsl7QelK3u4ekftIjcTqoIGZMYb5A=";