2023-09-26 11:09:57 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
2023-12-08 03:43:59 +00:00
|
|
|
, fetchpatch
|
2023-09-26 11:09:57 +01:00
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, qtbase
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dde-application-manager";
|
2023-12-08 03:43:59 +00:00
|
|
|
version = "1.1.8";
|
2023-09-26 11:09:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-12-08 03:43:59 +00:00
|
|
|
hash = "sha256-ImyXSyQWMFLvmtx9mBxrr4/IFOgOH1BW650mbiwFh5U=";
|
2023-09-26 11:09:57 +01:00
|
|
|
};
|
|
|
|
|
2023-12-08 03:43:59 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "set-more-scale-envs-to-application.patch";
|
|
|
|
url = "https://github.com/linuxdeepin/dde-application-manager/commit/a1f8ad276d88c81249dd3468779862186a180238.patch";
|
|
|
|
hash = "sha256-/iKg6NZZomNEKYsZCZP1IfNr7ZAXiA9RVBnyf+M/f4w=";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
name = "support-execSearchPath-to-prevent-systemd-from-finding-binaries.patch";
|
|
|
|
url = "https://github.com/linuxdeepin/dde-application-manager/commit/2eaca7c6b8b841d571e9d3510f9f14c321cd976e.patch";
|
|
|
|
hash = "sha256-GWUIv4NIBLQpnY4GcjLShMjiXAfPi3zKdol3whchC/Y=";
|
|
|
|
})
|
|
|
|
];
|
2023-09-26 11:09:57 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Application manager for DDE";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "dde-application-manager";
|
2023-09-26 11:09:57 +01:00
|
|
|
homepage = "https://github.com/linuxdeepin/dde-application-manager";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = teams.deepin.members;
|
|
|
|
};
|
|
|
|
}
|