dde-network-core: 1.1.8 -> 2.0.15

rewine 5cf7c0bc 7613b21f

+9 -25
+9 -25
pkgs/desktops/deepin/core/dde-network-core/default.nix
··· 5 5 , qttools 6 6 , pkg-config 7 7 , wrapQtAppsHook 8 + , qtbase 9 + , qtsvg 8 10 , dtkwidget 9 11 , dde-dock 10 12 , dde-control-center 11 13 , dde-session-shell 12 - , dde-qt-dbus-factory 13 - , gsettings-qt 14 - , gio-qt 15 14 , networkmanager-qt 16 15 , glib 17 - , pcre 18 - , util-linux 19 - , libselinux 20 - , libsepol 21 - , dbus 22 16 , gtest 23 - , qtbase 24 17 }: 18 + 25 19 stdenv.mkDerivation rec { 26 20 pname = "dde-network-core"; 27 - version = "1.1.8"; 21 + version = "2.0.15"; 28 22 29 23 src = fetchFromGitHub { 30 24 owner = "linuxdeepin"; 31 25 repo = pname; 32 26 rev = version; 33 - sha256 = "sha256-ysmdB9CT7mhN/0r8CRT4FQsK12HkhjbezGXwWiNScqg="; 27 + hash = "sha256-AMuWEz3Eyw0tG0srLWpqS7MO7Z4ZzIay4z59cZQZU0o="; 34 28 }; 35 29 36 - postPatch = '' 37 - substituteInPlace dock-network-plugin/networkplugin.cpp dcc-network-plugin/dccnetworkmodule.cpp dss-network-plugin/network_module.cpp \ 38 - --replace "/usr/share" "$out/share" 39 - substituteInPlace dss-network-plugin/notification/bubbletool.cpp \ 40 - --replace "/usr/share" "/run/current-system/sw/share" 41 - ''; 42 - 43 30 nativeBuildInputs = [ 44 31 cmake 45 32 qttools ··· 48 35 ]; 49 36 50 37 buildInputs = [ 38 + qtbase 39 + qtsvg 51 40 dtkwidget 52 41 dde-dock 53 42 dde-control-center 54 43 dde-session-shell 55 - dde-qt-dbus-factory 56 - gsettings-qt 57 - gio-qt 58 44 networkmanager-qt 59 45 glib 60 - pcre 61 - util-linux 62 - libselinux 63 - libsepol 64 46 gtest 65 47 ]; 66 48 67 49 cmakeFlags = [ 68 50 "-DVERSION=${version}" 69 51 ]; 52 + 53 + strictDeps = true; 70 54 71 55 meta = with lib; { 72 56 description = "DDE network library framework";