2023-01-07 07:51:54 +00:00
|
|
|
{ lib, pkgs, libsForQt5 }:
|
|
|
|
let
|
|
|
|
packages = self:
|
|
|
|
let
|
|
|
|
inherit (self) callPackage;
|
2023-01-09 10:05:24 +00:00
|
|
|
|
|
|
|
replaceAll = x: y: ''
|
|
|
|
echo Replacing "${x}" to "${y}":
|
|
|
|
for file in $(grep -rl "${x}"); do
|
|
|
|
echo -- $file
|
|
|
|
substituteInPlace $file \
|
|
|
|
--replace "${x}" "${y}"
|
|
|
|
done
|
|
|
|
'';
|
2023-01-07 07:51:54 +00:00
|
|
|
in {
|
2023-01-07 08:19:55 +00:00
|
|
|
#### LIBRARIES
|
|
|
|
dtkcommon = callPackage ./library/dtkcommon { };
|
2023-01-07 08:27:24 +00:00
|
|
|
dtkcore = callPackage ./library/dtkcore { };
|
2023-01-07 08:34:02 +00:00
|
|
|
dtkgui = callPackage ./library/dtkgui { };
|
2023-01-07 08:36:30 +00:00
|
|
|
dtkwidget = callPackage ./library/dtkwidget { };
|
2023-01-07 08:41:14 +00:00
|
|
|
qt5platform-plugins = callPackage ./library/qt5platform-plugins { };
|
2023-01-07 08:46:20 +00:00
|
|
|
qt5integration = callPackage ./library/qt5integration { };
|
2023-01-07 09:23:46 +00:00
|
|
|
deepin-wayland-protocols = callPackage ./library/deepin-wayland-protocols { };
|
2023-01-07 09:26:03 +00:00
|
|
|
dwayland = callPackage ./library/dwayland { };
|
2023-01-07 09:10:01 +00:00
|
|
|
dde-qt-dbus-factory = callPackage ./library/dde-qt-dbus-factory { };
|
2023-01-07 08:57:40 +00:00
|
|
|
disomaster = callPackage ./library/disomaster { };
|
2023-01-07 08:59:32 +00:00
|
|
|
docparser = callPackage ./library/docparser { };
|
2023-01-07 09:13:35 +00:00
|
|
|
gio-qt = callPackage ./library/gio-qt { };
|
2023-01-07 09:16:48 +00:00
|
|
|
image-editor = callPackage ./library/image-editor { };
|
2023-01-07 09:20:32 +00:00
|
|
|
udisks2-qt5 = callPackage ./library/udisks2-qt5 { };
|
2023-01-26 14:47:16 +00:00
|
|
|
|
2023-01-12 07:56:15 +00:00
|
|
|
#### CORE
|
2023-01-12 08:12:59 +00:00
|
|
|
dde-app-services = callPackage ./core/dde-app-services { };
|
2023-01-12 08:06:06 +00:00
|
|
|
dde-control-center = callPackage ./core/dde-control-center { };
|
2023-01-12 07:26:34 +00:00
|
|
|
dde-calendar = callPackage ./core/dde-calendar { };
|
2023-01-12 08:11:30 +00:00
|
|
|
dde-clipboard = callPackage ./core/dde-clipboard { };
|
2023-01-12 08:07:51 +00:00
|
|
|
dde-dock = callPackage ./core/dde-dock { };
|
2023-01-12 08:08:59 +00:00
|
|
|
dde-launcher = callPackage ./core/dde-launcher { };
|
2023-01-12 08:15:00 +00:00
|
|
|
dde-session-shell = callPackage ./core/dde-session-shell { };
|
2023-01-12 08:16:22 +00:00
|
|
|
dde-session-ui = callPackage ./core/dde-session-ui { };
|
2023-01-12 07:56:15 +00:00
|
|
|
dde-polkit-agent = callPackage ./core/dde-polkit-agent { };
|
2023-01-12 07:57:24 +00:00
|
|
|
dpa-ext-gnomekeyring = callPackage ./core/dpa-ext-gnomekeyring { };
|
2023-01-12 07:56:15 +00:00
|
|
|
|
2023-01-26 14:47:16 +00:00
|
|
|
#### Dtk Application
|
2023-01-12 08:59:34 +00:00
|
|
|
deepin-album = callPackage ./apps/deepin-album { };
|
2023-01-26 14:47:16 +00:00
|
|
|
deepin-calculator = callPackage ./apps/deepin-calculator { };
|
2023-01-12 09:58:51 +00:00
|
|
|
deepin-camera = callPackage ./apps/deepin-camera { };
|
2023-01-12 09:22:51 +00:00
|
|
|
deepin-compressor = callPackage ./apps/deepin-compressor { };
|
2023-03-21 16:04:44 +00:00
|
|
|
deepin-clone = callPackage ./apps/deepin-clone { };
|
2023-01-12 08:53:01 +00:00
|
|
|
deepin-draw = callPackage ./apps/deepin-draw { };
|
2023-01-12 09:30:22 +00:00
|
|
|
deepin-editor = callPackage ./apps/deepin-editor { };
|
2023-01-12 08:55:57 +00:00
|
|
|
deepin-image-viewer = callPackage ./apps/deepin-image-viewer { };
|
2023-01-12 09:06:08 +00:00
|
|
|
deepin-movie-reborn = callPackage ./apps/deepin-movie-reborn { };
|
2023-01-12 09:02:54 +00:00
|
|
|
deepin-music = callPackage ./apps/deepin-music { };
|
2023-01-12 08:54:34 +00:00
|
|
|
deepin-picker = callPackage ./apps/deepin-picker { };
|
2023-03-17 09:50:45 +00:00
|
|
|
deepin-shortcut-viewer = callPackage ./apps/deepin-shortcut-viewer { };
|
2023-01-12 09:28:43 +00:00
|
|
|
deepin-terminal = callPackage ./apps/deepin-terminal { };
|
2023-01-12 09:49:03 +00:00
|
|
|
deepin-reader = callPackage ./apps/deepin-reader { };
|
2023-01-12 10:01:38 +00:00
|
|
|
deepin-voice-note = callPackage ./apps/deepin-voice-note { };
|
2023-01-12 05:56:08 +00:00
|
|
|
|
2023-01-09 10:05:24 +00:00
|
|
|
#### Go Packages
|
|
|
|
go-lib = callPackage ./go-package/go-lib { inherit replaceAll; };
|
2023-01-09 10:09:01 +00:00
|
|
|
go-gir-generator = callPackage ./go-package/go-gir-generator { };
|
2023-01-09 10:11:21 +00:00
|
|
|
go-dbus-factory = callPackage ./go-package/go-dbus-factory { };
|
2023-01-12 07:52:22 +00:00
|
|
|
dde-api = callPackage ./go-package/dde-api { inherit replaceAll; };
|
2023-01-12 05:26:32 +00:00
|
|
|
deepin-pw-check = callPackage ./go-package/deepin-pw-check { };
|
2023-01-12 07:50:55 +00:00
|
|
|
deepin-desktop-schemas = callPackage ./go-package/deepin-desktop-schemas { };
|
2023-01-09 10:05:24 +00:00
|
|
|
|
2023-01-11 10:12:35 +00:00
|
|
|
#### TOOLS
|
2023-01-12 05:31:22 +00:00
|
|
|
dde-device-formatter = callPackage ./tools/dde-device-formatter { };
|
2023-01-11 10:12:35 +00:00
|
|
|
deepin-gettext-tools = callPackage ./tools/deepin-gettext-tools { };
|
|
|
|
|
2023-01-12 05:56:08 +00:00
|
|
|
#### ARTWORK
|
2023-01-12 06:06:44 +00:00
|
|
|
dde-account-faces = callPackage ./artwork/dde-account-faces { };
|
2023-01-12 05:56:08 +00:00
|
|
|
deepin-icon-theme = callPackage ./artwork/deepin-icon-theme { };
|
2023-01-12 08:00:49 +00:00
|
|
|
deepin-wallpapers = callPackage ./artwork/deepin-wallpapers { };
|
2023-01-12 06:03:21 +00:00
|
|
|
deepin-gtk-theme = callPackage ./artwork/deepin-gtk-theme { };
|
2023-01-12 06:05:08 +00:00
|
|
|
deepin-sound-theme = callPackage ./artwork/deepin-sound-theme { };
|
2023-01-12 07:38:18 +00:00
|
|
|
|
|
|
|
#### MISC
|
|
|
|
deepin-desktop-base = callPackage ./misc/deepin-desktop-base { };
|
2023-01-12 07:47:56 +00:00
|
|
|
deepin-turbo = callPackage ./misc/deepin-turbo { };
|
2023-01-07 07:51:54 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
lib.makeScope libsForQt5.newScope packages
|