blob: 2626eefa8cd4cf2f716b1b6e8a46bf783766e86e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ lib
, stdenv
, fetchFromGitHub
, cmake
, qtbase
}:
stdenv.mkDerivation rec {
pname = "qxlsx";
version = "1.4.7";
src = fetchFromGitHub {
owner = "QtExcel";
repo = "QXlsx";
rev = "v${version}";
hash = "sha256-E3x2IUPMRmPSTRN01sXJ0PZaN7iBzatr2vwan2sZxf0=";
};
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 ];
};
}
|