1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

qt6Packages.qxlsx: 1.4.6 -> 1.4.7

Diff: https://github.com/QtExcel/QXlsx/compare/v1.4.6...v1.4.7
This commit is contained in:
Nick Cao 2023-12-18 10:44:26 -05:00
parent 92ad5c907c
commit f0d3f01697
No known key found for this signature in database

View file

@ -1,31 +1,21 @@
{ 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 ];