Merge pull request #227183 from NickCao/qxlsx
qt6Packages.qxlsx: 1.4.5 -> 1.4.6
This commit is contained in:
commit
ddb3455e15
1 changed files with 12 additions and 2 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue