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