depot/third_party/nixpkgs/pkgs/development/libraries/qxlsx/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
647 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, qtbase
}:
stdenv.mkDerivation rec {
pname = "qxlsx";
version = "1.4.8";
src = fetchFromGitHub {
owner = "QtExcel";
repo = "QXlsx";
rev = "v${version}";
hash = "sha256-mMhe4yztU9I/zJFbj/0GNiIoSy7U4rQ1Y3mDvvHNKXk=";
};
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 ];
};
}