tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gio-qt: init at 0.0.11
authored by
rewine
and committed by
rewine
3 years ago
e4352b39
f45d637b
+43
2 changed files
expand all
collapse all
unified
split
pkgs
desktops
deepin
default.nix
library
gio-qt
default.nix
+1
pkgs/desktops/deepin/default.nix
···
14
14
dde-qt-dbus-factory = callPackage ./library/dde-qt-dbus-factory { };
15
15
disomaster = callPackage ./library/disomaster { };
16
16
docparser = callPackage ./library/docparser { };
17
17
+
gio-qt = callPackage ./library/gio-qt { };
17
18
};
18
19
in
19
20
lib.makeScope libsForQt5.newScope packages
+42
pkgs/desktops/deepin/library/gio-qt/default.nix
···
1
1
+
{ stdenv
2
2
+
, lib
3
3
+
, fetchFromGitHub
4
4
+
, cmake
5
5
+
, pkg-config
6
6
+
, wrapQtAppsHook
7
7
+
, glibmm
8
8
+
, doxygen
9
9
+
, buildDocs ? false
10
10
+
}:
11
11
+
12
12
+
stdenv.mkDerivation rec {
13
13
+
pname = "gio-qt";
14
14
+
version = "0.0.11";
15
15
+
16
16
+
src = fetchFromGitHub {
17
17
+
owner = "linuxdeepin";
18
18
+
repo = pname;
19
19
+
rev = version;
20
20
+
sha256 = "sha256-dlY1CTlXywgGZUonBBe3cDwx8h2xXrPY6Ft/D59nlug=";
21
21
+
};
22
22
+
23
23
+
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
24
24
+
25
25
+
cmakeFlags = [
26
26
+
"-DCMAKE_INSTALL_LIBDIR=lib"
27
27
+
"-DPROJECT_VERSION=${version}"
28
28
+
]
29
29
+
++ lib.optional (!buildDocs) [ "-DBUILD_DOCS=OFF" ];
30
30
+
31
31
+
buildInputs = lib.optional buildDocs doxygen;
32
32
+
33
33
+
propagatedBuildInputs = [ glibmm ];
34
34
+
35
35
+
meta = with lib; {
36
36
+
description = "Gio wrapper for Qt applications";
37
37
+
homepage = "https://github.com/linuxdeepin/gio-qt";
38
38
+
license = licenses.lgpl3Plus;
39
39
+
platforms = platforms.linux;
40
40
+
maintainers = teams.deepin.members;
41
41
+
};
42
42
+
}