qt6Packages.qxlsx: 1.4.5 -> 1.4.6

Diff: https://github.com/QtExcel/QXlsx/compare/v1.4.5...v1.4.6
This commit is contained in:
Nick Cao 2023-04-20 09:48:44 +08:00
parent 472b961354
commit 9c5ae00236
No known key found for this signature in database

View file

@ -1,21 +1,31 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, qtbase
}:
stdenv.mkDerivation rec {
pname = "qxlsx";
version = "1.4.5";
version = "1.4.6";
src = fetchFromGitHub {
owner = "QtExcel";
repo = "QXlsx";
rev = "v${version}";
hash = "sha256-T+PUeml4O6uwY6DCAsBer4gDo+nrSGGus+yQv02CJcE=";
hash = "sha256-8plnvyb4sQRfEac1TVWgr2yrtAVAPKucgAnsybdUd3U=";
};
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 ];