Merge pull request #227183 from NickCao/qxlsx

qt6Packages.qxlsx: 1.4.5 -> 1.4.6
This commit is contained in:
Nick Cao 2023-06-01 10:26:40 -06:00 committed by GitHub
commit ddb3455e15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];