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
|
|
|
|
|
|
|
#### Dtk Application
|
|
|
|
deepin-calculator = callPackage ./apps/deepin-calculator { };
|
2023-01-12 09:30:22 +00:00
|
|
|
deepin-editor = callPackage ./apps/deepin-editor { };
|
2023-01-12 09:28:43 +00:00
|
|
|
deepin-terminal = callPackage ./apps/deepin-terminal { };
|
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:05:24 +00:00
|
|
|
|
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 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-07 07:51:54 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
lib.makeScope libsForQt5.newScope packages
|