Unverified Commit 56078c1d authored by Azat Bahawi's avatar Azat Bahawi Committed by GitHub
Browse files

qolibri: 2.1.5-unstable-2024-03-17 -> 2.1.5-unstable-2025-01-18 (#428901)

parents e9afcce1 3ff6bd15
Loading
Loading
Loading
Loading
+15 −18
Original line number Diff line number Diff line
@@ -8,25 +8,15 @@
  qtwebengine,
  wrapQtAppsHook,
}:

let
  eb = fetchFromGitHub {
    owner = "mvf";
    repo = "eb";
    rev = "58e1c3bb9847ed5d05863f478f21e7a8ca3d74c8";
    hash = "sha256-gZP+2P6fFADWht2c0hXmljVJQX8RpCq2mWP+KDi+GzE=";
  };
in

stdenv.mkDerivation {
  pname = "qolibri";
  version = "2.1.5-unstable-2024-03-17";
  version = "2.1.5-unstable-2025-01-18";

  src = fetchFromGitHub {
    owner = "mvf";
    repo = "qolibri";
    rev = "99f0771184fcb2c5f47aad11c16002ebb8469a3f";
    hash = "sha256-ArupqwejOO2YK9a3Ky0j20dIHs1jIqJksNIb4K2jwgI=";
    rev = "edc0683915c0a99872a4c04ff53afe0f5df101fb";
    hash = "sha256-RPcA9pPbd86gJtoHxalDKze0t8DNg/uVQYp9eYTxxyc=";
  };

  nativeBuildInputs = [
@@ -41,7 +31,14 @@ stdenv.mkDerivation {
  ];

  cmakeFlags = [
    "-DQOLIBRI_EB_SOURCE_DIR=${eb}"
    (lib.cmakeOptionType "filepath" "QOLIBRI_EB_SOURCE_DIR"
      "${fetchFromGitHub {
        owner = "mvf";
        repo = "eb";
        rev = "58e1c3bb9847ed5d05863f478f21e7a8ca3d74c8";
        hash = "sha256-gZP+2P6fFADWht2c0hXmljVJQX8RpCq2mWP+KDi+GzE=";
      }}"
    )
  ];

  postInstall = ''
@@ -54,12 +51,12 @@ stdenv.mkDerivation {
    done
  '';

  meta = with lib; {
  meta = {
    description = "EPWING reader for viewing Japanese dictionaries";
    homepage = "https://github.com/mvf/qolibri";
    license = licenses.gpl2;
    maintainers = with maintainers; [ azahi ];
    platforms = platforms.unix;
    license = lib.licenses.gpl2;
    maintainers = [ lib.maintainers.azahi ];
    platforms = lib.platforms.unix;
    broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; # Looks like a libcxx version mismatch problem.
    mainProgram = "qolibri";
  };