diff options
Diffstat (limited to 'pkgs/desktops/deepin/dtkwm/default.nix')
-rw-r--r-- | pkgs/desktops/deepin/dtkwm/default.nix | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/desktops/deepin/dtkwm/default.nix b/pkgs/desktops/deepin/dtkwm/default.nix index 4807c3d312b..ead96fe2533 100644 --- a/pkgs/desktops/deepin/dtkwm/default.nix +++ b/pkgs/desktops/deepin/dtkwm/default.nix @@ -1,15 +1,14 @@ -{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qtx11extras, dtkcore, - deepin }: +{ stdenv, mkDerivation, fetchFromGitHub, fetchpatch, pkgconfig, qmake, qtx11extras, dtkcore, deepin }: mkDerivation rec { pname = "dtkwm"; - version = "2.0.11"; + version = "2.0.12"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = pname; rev = version; - sha256 = "10l89i84vsh5knq9wg2php7vfg5rj5c9hrrl9rjlcidn1rz8yx6f"; + sha256 = "0rdzzqsggqarldwb4yp5s4sf5czicgxbdmibjn0pw32129r2d1g3"; }; nativeBuildInputs = [ @@ -22,6 +21,14 @@ mkDerivation rec { qtx11extras ]; + patches = [ + # Set DTK_MODULE_NAME + (fetchpatch { + url = "https://github.com/linuxdeepin/dtkwm/commit/2490891a.patch"; + sha256 = "0krydxjpnaihkgs1n49b6mcf3rd3lkispcnkb1j5vpfs9hp9f48j"; + }) + ]; + outRef = placeholder "out"; qmakeFlags = [ @@ -30,7 +37,7 @@ mkDerivation rec { "LIB_INSTALL_DIR=${outRef}/lib" ]; - passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; }; + passthru.updateScript = deepin.updateScript { name = "${pname}-${version}"; }; meta = with stdenv.lib; { description = "Deepin graphical user interface library"; |