libsForQt5.qxlsx: init at 1.4.4
This commit is contained in:
parent
e5c2ffc288
commit
15bf223df9
2 changed files with 42 additions and 0 deletions
40
pkgs/development/libraries/qxlsx/default.nix
Normal file
40
pkgs/development/libraries/qxlsx/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, qtbase
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qxlsx";
|
||||
version = "1.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "QtExcel";
|
||||
repo = "QXlsx";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-01G7eJRrnee/acEeobYAYMY+93y+I0ASOTVRGuO+IcA=";
|
||||
};
|
||||
|
||||
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
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
meta = with lib;{
|
||||
description = "Excel file(*.xlsx) reader/writer library using Qt 5 or 6";
|
||||
homepage = "https://qtexcel.github.io/QXlsx";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
};
|
||||
}
|
|
@ -225,6 +225,8 @@ in (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGea
|
|||
|
||||
qwt6_1 = callPackage ../development/libraries/qwt/6_1.nix { };
|
||||
|
||||
qxlsx = callPackage ../development/libraries/qxlsx { };
|
||||
|
||||
soqt = callPackage ../development/libraries/soqt { };
|
||||
|
||||
telepathy = callPackage ../development/libraries/telepathy/qt { };
|
||||
|
|
Loading…
Reference in a new issue