forked from mirrors/gio-qt
40 lines
801 B
Nix
40 lines
801 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, glibmm
|
|
, doxygen
|
|
, qt6
|
|
, buildDocs ? true
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gio-qt6";
|
|
version = "0.1.0";
|
|
|
|
src = lib.cleanSource ../.;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
qt6.wrapQtAppsHook
|
|
] ++ lib.optionals buildDocs [ doxygen qt6.qttools.dev ];
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
|
"-DPROJECT_VERSION=${version}"
|
|
"-DBUILD_DOCS=OFF"
|
|
] ++ lib.optionals (!buildDocs) [ "-DBUILD_DOCS=OFF" ];
|
|
|
|
propagatedBuildInputs = [ glibmm ];
|
|
|
|
meta = with lib; {
|
|
description = "Gio wrapper for Qt6 applications";
|
|
homepage = "https://git.grimmauld.de/Grimmauld/gio-qt";
|
|
license = licenses.lgpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [grimmauld];
|
|
};
|
|
}
|