Unverified Commit f0d3f016 authored by Nick Cao's avatar Nick Cao
Browse files

qt6Packages.qxlsx: 1.4.6 -> 1.4.7

parent 92ad5c90
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, qtbase
}:

stdenv.mkDerivation rec {
  pname = "qxlsx";
  version = "1.4.6";
  version = "1.4.7";

  src = fetchFromGitHub {
    owner = "QtExcel";
    repo = "QXlsx";
    rev = "v${version}";
    hash = "sha256-8plnvyb4sQRfEac1TVWgr2yrtAVAPKucgAnsybdUd3U=";
    hash = "sha256-E3x2IUPMRmPSTRN01sXJ0PZaN7iBzatr2vwan2sZxf0=";
  };

  patches = [
    # Fix header include path
    # https://github.com/QtExcel/QXlsx/pull/279
    (fetchpatch {
      url = "https://github.com/QtExcel/QXlsx/commit/9d6db9efb92b93c3663ccfef3aec05267ba43723.patch";
      hash = "sha256-EbE5CNACAcgENCQh81lBZJ52hCIcBsFhNnYOS0Wr25I=";
    })
  ];

  nativeBuildInputs = [ cmake ];
  buildInputs = [ qtbase ];