8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 hash = "sha256-01G7eJRrnee/acEeobYAYMY+93y+I0ASOTVRGuO+IcA=";
19 nativeBuildInputs = [ cmake ];
20 buildInputs = [ qtbase ];
22 # Don't force Qt definitions onto users: https://github.com/QtExcel/QXlsx/commit/8e83402d
24 substituteInPlace QXlsx/CMakeLists.txt \
25 --replace 'target_compile_definitions(QXlsx PUBLIC' 'target_compile_definitions(QXlsx PRIVATE'
32 dontWrapQtApps = true;
35 description = "Excel file(*.xlsx) reader/writer library using Qt 5 or 6";
36 homepage = "https://qtexcel.github.io/QXlsx";
37 license = licenses.mit;
38 maintainers = with maintainers; [ nickcao ];