2023-01-07 08:51:54 +01:00
|
|
|
{ lib, pkgs, libsForQt5 }:
|
|
|
|
let
|
|
|
|
packages = self:
|
|
|
|
let
|
|
|
|
inherit (self) callPackage;
|
2023-01-09 11:05:24 +01: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 08:51:54 +01:00
|
|
|
in {
|
2023-01-07 09:19:55 +01:00
|
|
|
#### LIBRARIES
|
|
|
|
dtkcommon = callPackage ./library/dtkcommon { };
|
2023-01-07 09:27:24 +01:00
|
|
|
dtkcore = callPackage ./library/dtkcore { };
|
2023-01-07 09:34:02 +01:00
|
|
|
dtkgui = callPackage ./library/dtkgui { };
|
2023-01-07 09:36:30 +01:00
|
|
|
dtkwidget = callPackage ./library/dtkwidget { };
|
2023-01-07 09:41:14 +01:00
|
|
|
qt5platform-plugins = callPackage ./library/qt5platform-plugins { };
|
2023-01-07 09:46:20 +01:00
|
|
|
qt5integration = callPackage ./library/qt5integration { };
|
2023-01-07 10:23:46 +01:00
|
|
|
deepin-wayland-protocols = callPackage ./library/deepin-wayland-protocols { };
|
2023-01-07 10:26:03 +01:00
|
|
|
dwayland = callPackage ./library/dwayland { };
|
2023-01-07 10:10:01 +01:00
|
|
|
dde-qt-dbus-factory = callPackage ./library/dde-qt-dbus-factory { };
|
2023-01-07 09:57:40 +01:00
|
|
|
disomaster = callPackage ./library/disomaster { };
|
2023-01-07 09:59:32 +01:00
|
|
|
docparser = callPackage ./library/docparser { };
|
2023-01-07 10:13:35 +01:00
|
|
|
gio-qt = callPackage ./library/gio-qt { };
|
2023-01-07 10:16:48 +01:00
|
|
|
image-editor = callPackage ./library/image-editor { };
|
2023-01-07 10:20:32 +01:00
|
|
|
udisks2-qt5 = callPackage ./library/udisks2-qt5 { };
|
2023-01-26 15:47:16 +01:00
|
|
|
|
|
|
|
#### Dtk Application
|
2023-01-12 09:59:34 +01:00
|
|
|
deepin-album = callPackage ./apps/deepin-album { };
|
2023-01-26 15:47:16 +01:00
|
|
|
deepin-calculator = callPackage ./apps/deepin-calculator { };
|
2023-01-12 10:22:51 +01:00
|
|
|
deepin-compressor = callPackage ./apps/deepin-compressor { };
|
2023-01-12 09:53:01 +01:00
|
|
|
deepin-draw = callPackage ./apps/deepin-draw { };
|
2023-01-12 10:30:22 +01:00
|
|
|
deepin-editor = callPackage ./apps/deepin-editor { };
|
2023-01-12 09:55:57 +01:00
|
|
|
deepin-image-viewer = callPackage ./apps/deepin-image-viewer { };
|
2023-01-12 09:54:34 +01:00
|
|
|
deepin-picker = callPackage ./apps/deepin-picker { };
|
2023-01-12 10:28:43 +01:00
|
|
|
deepin-terminal = callPackage ./apps/deepin-terminal { };
|
2023-01-12 06:56:08 +01:00
|
|
|
|
2023-01-09 11:05:24 +01:00
|
|
|
#### Go Packages
|
|
|
|
go-lib = callPackage ./go-package/go-lib { inherit replaceAll; };
|
2023-01-09 11:09:01 +01:00
|
|
|
go-gir-generator = callPackage ./go-package/go-gir-generator { };
|
2023-01-09 11:11:21 +01:00
|
|
|
go-dbus-factory = callPackage ./go-package/go-dbus-factory { };
|
2023-01-12 06:26:32 +01:00
|
|
|
deepin-pw-check = callPackage ./go-package/deepin-pw-check { };
|
2023-01-09 11:05:24 +01:00
|
|
|
|
2023-01-11 11:12:35 +01:00
|
|
|
#### TOOLS
|
|
|
|
deepin-gettext-tools = callPackage ./tools/deepin-gettext-tools { };
|
|
|
|
|
2023-01-12 06:56:08 +01:00
|
|
|
#### ARTWORK
|
2023-01-12 07:06:44 +01:00
|
|
|
dde-account-faces = callPackage ./artwork/dde-account-faces { };
|
2023-01-12 06:56:08 +01:00
|
|
|
deepin-icon-theme = callPackage ./artwork/deepin-icon-theme { };
|
2023-01-12 07:03:21 +01:00
|
|
|
deepin-gtk-theme = callPackage ./artwork/deepin-gtk-theme { };
|
2023-01-12 07:05:08 +01:00
|
|
|
deepin-sound-theme = callPackage ./artwork/deepin-sound-theme { };
|
2023-01-12 08:38:18 +01:00
|
|
|
|
|
|
|
#### MISC
|
|
|
|
deepin-desktop-base = callPackage ./misc/deepin-desktop-base { };
|
2023-01-12 08:47:56 +01:00
|
|
|
deepin-turbo = callPackage ./misc/deepin-turbo { };
|
2023-01-07 08:51:54 +01:00
|
|
|
};
|
|
|
|
in
|
|
|
|
lib.makeScope libsForQt5.newScope packages
|