deepin.dde-app-services: init at 0.0.20
This commit is contained in:
parent
43fa334716
commit
b48842d507
56
pkgs/desktops/deepin/core/dde-app-services/default.nix
Normal file
56
pkgs/desktops/deepin/core/dde-app-services/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, dtkwidget
|
||||
, qt5integration
|
||||
, qt5platform-plugins
|
||||
, cmake
|
||||
, wrapQtAppsHook
|
||||
, qtbase
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dde-app-services";
|
||||
version = "0.0.20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-M9XXNV3N4CifOXitT6+UxaGsLoVuoNGqC5SO/mF+bLw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace dconfig-center/dde-dconfig-daemon/services/org.desktopspec.ConfigManager.service \
|
||||
--replace "/usr/bin/dde-dconfig-daemon" "$out/bin/dde-dconfig-daemon"
|
||||
substituteInPlace dconfig-center/dde-dconfig/main.cpp \
|
||||
--replace "/bin/dde-dconfig-editor" "dde-dconfig-editor"
|
||||
substituteInPlace dconfig-center/CMakeLists.txt \
|
||||
--replace 'add_subdirectory("example")' " " \
|
||||
--replace 'add_subdirectory("tests")' " "
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dtkwidget
|
||||
qt5integration
|
||||
qt5platform-plugins
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DDVERSION=${version}"
|
||||
"-DDSG_DATA_DIR=/run/current-system/sw/share/dsg"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Provids dbus service for reading and writing DSG configuration";
|
||||
homepage = "https://github.com/linuxdeepin/dde-app-services";
|
||||
license = licenses.lgpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.deepin.members;
|
||||
};
|
||||
}
|
@ -30,6 +30,7 @@ let
|
||||
udisks2-qt5 = callPackage ./library/udisks2-qt5 { };
|
||||
|
||||
#### CORE
|
||||
dde-app-services = callPackage ./core/dde-app-services { };
|
||||
dde-control-center = callPackage ./core/dde-control-center { };
|
||||
dde-calendar = callPackage ./core/dde-calendar { };
|
||||
dde-clipboard = callPackage ./core/dde-clipboard { };
|
||||
|
Loading…
Reference in New Issue
Block a user