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:
parent
472b961354
commit
9c5ae00236
1 changed files with 12 additions and 2 deletions
|
@ -1,21 +1,31 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, cmake
|
, cmake
|
||||||
, qtbase
|
, qtbase
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "qxlsx";
|
pname = "qxlsx";
|
||||||
version = "1.4.5";
|
version = "1.4.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "QtExcel";
|
owner = "QtExcel";
|
||||||
repo = "QXlsx";
|
repo = "QXlsx";
|
||||||
rev = "v${version}";
|
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 ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ qtbase ];
|
buildInputs = [ qtbase ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue