nixpkgs/pkgs/desktops/deepin/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1.8 KiB
Nix
Raw Normal View History

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