mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
35 lines
647 B
Nix
35 lines
647 B
Nix
{ 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 ];
|
|
};
|
|
}
|