Unverified Commit 0414f1a5 authored by Grimmauld's avatar Grimmauld
Browse files

frescobaldi: 3.3.0 -> 4.0.4

Includes update to qt6
parent 1d22b449
Loading
Loading
Loading
Loading
+14 −15
Original line number Diff line number Diff line
@@ -4,38 +4,37 @@
  fetchFromGitHub,
  python3Packages,
  lilypond,
  qt6,
}:

python3Packages.buildPythonApplication rec {
  pname = "frescobaldi";
  version = "3.3.0";
  format = "setuptools";
  version = "4.0.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "wbsoft";
    repo = "frescobaldi";
    tag = "v${version}";
    sha256 = "sha256-Q6ruthNcpjLlYydUetkuTECiCIzu055bw40O8BPGq/A=";
    hash = "sha256-J0QC+VwNdA24vAW5Fx+cz5IFajkB8GmR4Rae0Q+2zw8=";
  };

  propagatedBuildInputs = with python3Packages; [
  dependencies = with python3Packages; [
    qpageview
    lilypond
    pygame
    pygame-ce
    pyqt6-sip
    python-ly
    sip4
    pyqt5
    poppler-qt5
    pyqtwebengine
    pyqt6
    pyqt6-webengine
  ];

  nativeBuildInputs = [ python3Packages.pyqtwebengine.wrapQtAppsHook ];
  buildInputs = [ qt6.qtbase ];
  nativeBuildInputs = [ qt6.wrapQtAppsHook ];

  # Needed because source is fetched from git
  preBuild = ''
    make -C i18n
    make -C linux
  '';
  build-system = with python3Packages; [
    hatchling
  ];

  # no tests in shipped with upstream
  doCheck = false;