mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
Merge pull request #210291 from NickCao/qxlsx
qt6Packages.qxlsx: 1.4.4 -> 1.4.5
This commit is contained in:
commit
504ffaf010
@ -7,24 +7,18 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qxlsx";
|
||||
version = "1.4.4";
|
||||
version = "1.4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "QtExcel";
|
||||
repo = "QXlsx";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-01G7eJRrnee/acEeobYAYMY+93y+I0ASOTVRGuO+IcA=";
|
||||
hash = "sha256-T+PUeml4O6uwY6DCAsBer4gDo+nrSGGus+yQv02CJcE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ qtbase ];
|
||||
|
||||
# Don't force Qt definitions onto users: https://github.com/QtExcel/QXlsx/commit/8e83402d
|
||||
postPatch = ''
|
||||
substituteInPlace QXlsx/CMakeLists.txt \
|
||||
--replace 'target_compile_definitions(QXlsx PUBLIC' 'target_compile_definitions(QXlsx PRIVATE'
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
cd QXlsx
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user