gio-qt: init at 0.0.11
This commit is contained in:
parent
f45d637b6a
commit
e4352b39a9
2 changed files with 43 additions and 0 deletions
|
@ -14,6 +14,7 @@ let
|
|||
dde-qt-dbus-factory = callPackage ./library/dde-qt-dbus-factory { };
|
||||
disomaster = callPackage ./library/disomaster { };
|
||||
docparser = callPackage ./library/docparser { };
|
||||
gio-qt = callPackage ./library/gio-qt { };
|
||||
};
|
||||
in
|
||||
lib.makeScope libsForQt5.newScope packages
|
||||
|
|
42
pkgs/desktops/deepin/library/gio-qt/default.nix
Normal file
42
pkgs/desktops/deepin/library/gio-qt/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, wrapQtAppsHook
|
||||
, glibmm
|
||||
, doxygen
|
||||
, buildDocs ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gio-qt";
|
||||
version = "0.0.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-dlY1CTlXywgGZUonBBe3cDwx8h2xXrPY6Ft/D59nlug=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
"-DPROJECT_VERSION=${version}"
|
||||
]
|
||||
++ lib.optional (!buildDocs) [ "-DBUILD_DOCS=OFF" ];
|
||||
|
||||
buildInputs = lib.optional buildDocs doxygen;
|
||||
|
||||
propagatedBuildInputs = [ glibmm ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Gio wrapper for Qt applications";
|
||||
homepage = "https://github.com/linuxdeepin/gio-qt";
|
||||
license = licenses.lgpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.deepin.members;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue