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