nixpkgs/pkgs/development/libraries/qxlsx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
647 B
Nix
Raw Normal View History

2022-10-02 05:40:06 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, qtbase
}:
stdenv.mkDerivation rec {
pname = "qxlsx";
2023-01-12 02:11:55 +00:00
version = "1.4.5";
2022-10-02 05:40:06 +00:00
src = fetchFromGitHub {
owner = "QtExcel";
repo = "QXlsx";
rev = "v${version}";
2023-01-12 02:11:55 +00:00
hash = "sha256-T+PUeml4O6uwY6DCAsBer4gDo+nrSGGus+yQv02CJcE=";
2022-10-02 05:40:06 +00:00
};
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 ];
};
}