nixpkgs/pkgs/desktops/deepin/default.nix

63 lines
2.5 KiB
Nix
Raw Normal View History

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 { };
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
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:22:51 +00:00
deepin-compressor = callPackage ./apps/deepin-compressor { };
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 08:54:34 +00:00
deepin-picker = callPackage ./apps/deepin-picker { };
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:11:21 +00:00
go-dbus-factory = callPackage ./go-package/go-dbus-factory { };
2023-01-12 05:26:32 +00:00
deepin-pw-check = callPackage ./go-package/deepin-pw-check { };
2023-01-09 10:05:24 +00:00
2023-01-11 10:12:35 +00:00
#### TOOLS
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 { };
deepin-gtk-theme = callPackage ./artwork/deepin-gtk-theme { };
2023-01-12 06:05:08 +00:00
deepin-sound-theme = callPackage ./artwork/deepin-sound-theme { };
#### 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