0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
34 lines
647 B
Nix
34 lines
647 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, qtbase
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qxlsx";
|
|
version = "1.4.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "QtExcel";
|
|
repo = "QXlsx";
|
|
rev = "v${version}";
|
|
hash = "sha256-T+PUeml4O6uwY6DCAsBer4gDo+nrSGGus+yQv02CJcE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ qtbase ];
|
|
|
|
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 ];
|
|
};
|
|
}
|