Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: sigil 2.7.0 -> 2.7.6 https://github.com/Sigil-Ebook/Sigil/releases attrpath: sigil Checking auto update branch... No auto update branch exists Old version 2.7.0" not present in master derivation file with contents: { lib, stdenv, fetchFromGitHub, cmake, pkg-config, boost, xercesc, python3Packages, qt6, }: stdenv.mkDerivation (finalAttrs: { pname = "sigil"; version = "2.7.6"; src = fetchFromGitHub { repo = "Sigil"; owner = "Sigil-Ebook"; tag = finalAttrs.version; hash = "sha256-GbOTXyxj8HxEE833jUADzKbWpkzXHwjyoj9haIWB9Xk="; }; pythonPath = with python3Packages; [ lxml dulwich ]; nativeBuildInputs = [ cmake pkg-config qt6.wrapQtAppsHook ]; buildInputs = [ boost xercesc qt6.qtbase qt6.qttools qt6.qtwebengine qt6.qtsvg python3Packages.lxml python3Packages.dulwich ]; prePatch = '' sed -i '/^QTLIB_DIR=/ d' src/Resource_Files/bash/sigil-sh_install ''; installPhase = lib.optionalString stdenv.hostPlatform.isDarwin '' runHook preInstall mkdir -p $out/Applications mv bin/Sigil.app $out/Applications # https://github.com/NixOS/nixpkgs/issues/186653 chmod -x $out/Applications/Sigil.app/Contents/lib/*.dylib \ $out/Applications/Sigil.app/Contents/polyfills/*.js \ $out/Applications/Sigil.app/Contents/python3lib/*.py \ $out/Applications/Sigil.app/Contents/hunspell_dictionaries/*.{aff,dic} runHook postInstall ''; dontWrapQtApps = true; preFixup = '' qtWrapperArgs+=(--prefix PYTHONPATH : "$PYTHONPATH") ''; fixupPhase = let sigil = if stdenv.hostPlatform.isDarwin then "$out/Applications/Sigil.app/Contents/MacOS/Sigil" else "$out/bin/sigil"; in '' runHook preFixup wrapQtApp "${sigil}" runHook postFixup ''; meta = { description = "Free, open source, multi-platform ebook (ePub) editor"; homepage = "https://github.com/Sigil-Ebook/Sigil/"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ prince213 ]; platforms = with lib.platforms; linux ++ darwin; mainProgram = "sigil"; }; })