deepin.dde-api: 6.0.7 -> 6.0.9

authored by rewine and committed by rewine 69cfd69c 1959be56

+8 -17
+8 -17
pkgs/desktops/deepin/go-package/dde-api/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , buildGoModule 6 5 , pkg-config 7 6 , deepin-gettext-tools ··· 21 20 22 21 buildGoModule rec { 23 22 pname = "dde-api"; 24 - version = "6.0.7"; 23 + version = "6.0.9"; 25 24 26 25 src = fetchFromGitHub { 27 26 owner = "linuxdeepin"; 28 27 repo = pname; 29 28 rev = version; 30 - hash = "sha256-kdf1CoZUyda6bOTW0WJTgaXYhocrjRU9ptj7i+k8aaQ="; 29 + hash = "sha256-ht5IaXi4nz0/U1zqp4JTiDkQ3NB69q24MgWfu45SpoY="; 31 30 }; 32 31 33 - patches = [ 34 - (fetchpatch { 35 - name = "modify_PKGBUILD_to_support_OBS.patch"; 36 - url = "https://github.com/linuxdeepin/dde-api/commit/1399522d032c6c649db79a33348cdb1a233bc23a.patch"; 37 - hash = "sha256-kSHnYaOxIvv7lAJnvxpSwyRDPyDxpAq9x+gJcBdU3T8="; 38 - }) 39 - ]; 40 - 41 - vendorHash = "sha256-4Yscw3QjWG1rlju6sMRHGn3dSe65b1nx10B3KeyAzBM="; 32 + vendorHash = "sha256-zrtUsCF2+301DKwgWectw+UbOehOp8h8u/IMf09XQ8Q="; 42 33 43 34 postPatch = '' 44 35 substituteInPlace misc/systemd/system/deepin-shutdown-sound.service \ 45 - --replace "/usr/bin/true" "${coreutils}/bin/true" 36 + --replace-fail "/usr/bin/true" "${coreutils}/bin/true" 46 37 47 38 substituteInPlace sound-theme-player/main.go \ 48 - --replace "/usr/sbin/alsactl" "alsactl" 39 + --replace-fail "/usr/sbin/alsactl" "alsactl" 49 40 50 41 substituteInPlace misc/{scripts/deepin-boot-sound.sh,systemd/system/deepin-login-sound.service} \ 51 - --replace "/usr/bin/dbus-send" "${dbus}/bin/dbus-send" 42 + --replace-fail "/usr/bin/dbus-send" "${dbus}/bin/dbus-send" 52 43 53 44 substituteInPlace lunar-calendar/huangli.go adjust-grub-theme/main.go \ 54 - --replace "/usr/share/dde-api" "$out/share/dde-api" 45 + --replace-fail "/usr/share/dde-api" "$out/share/dde-api" 55 46 56 47 substituteInPlace themes/{theme.go,settings.go} \ 57 - --replace "/usr/share" "/run/current-system/sw/share" 48 + --replace-fail "/usr/share" "/run/current-system/sw/share" 58 49 59 50 for file in $(grep "/usr/lib/deepin-api" * -nR |awk -F: '{print $1}') 60 51 do