aemu,gfxstream: use release tags

These was previously using different commits, because upstream had
told me that they would be the 0.1.2 releases, and then ended up
changing their mind when they finally got around to tagging them.

+8 -17
+4 -4
pkgs/by-name/ae/aemu/package.nix
··· 5 cmake, 6 }: 7 8 - stdenv.mkDerivation { 9 pname = "aemu"; 10 version = "0.1.2"; 11 12 src = fetchFromGitiles { 13 url = "https://android.googlesource.com/platform/hardware/google/aemu"; 14 - rev = "07ccc3ded3357e67e39104f18f35feaf8b3b6a0e"; 15 - hash = "sha256-H3IU9aTFSzUAqYgrtHd4F18hbhZsbOJGC4K5JwMQOOw="; 16 }; 17 18 patches = [ ··· 48 "aarch64-darwin" 49 ]; 50 }; 51 - }
··· 5 cmake, 6 }: 7 8 + stdenv.mkDerivation (finalAttrs: { 9 pname = "aemu"; 10 version = "0.1.2"; 11 12 src = fetchFromGitiles { 13 url = "https://android.googlesource.com/platform/hardware/google/aemu"; 14 + rev = "v${finalAttrs.version}-aemu-release"; 15 + hash = "sha256-8UMm2dXdvmX6rUn4wQWuqI8bamwgf0x/5BQT+7atzjY="; 16 }; 17 18 patches = [ ··· 48 "aarch64-darwin" 49 ]; 50 }; 51 + })
+4 -13
pkgs/by-name/gf/gfxstream/package.nix
··· 15 xorg, 16 }: 17 18 - stdenv.mkDerivation { 19 pname = "gfxstream"; 20 version = "0.1.2"; 21 22 src = fetchFromGitiles { 23 url = "https://android.googlesource.com/platform/hardware/google/gfxstream"; 24 - rev = "a29282666c0e2fdbb2c98cfe68a7c0677163ef91"; 25 - hash = "sha256-IYXkaHZPEYIE9KW731GN6x6yRS+FYtP1zyHcaSofhIM="; 26 }; 27 - 28 - patches = [ 29 - # Make libdrm an optional dependency, which is required to build on Darwin. 30 - (fetchpatch { 31 - url = "https://android.googlesource.com/platform/hardware/google/gfxstream/+/a8df2a3eb099b419a7b3638e68ea30b4cffb751b%5E%21/?format=TEXT"; 32 - decode = "base64 -d"; 33 - hash = "sha256-shjeNuxtQokscCGBKEUbOPKOWRELBAnHFNj3Y5w87Nw="; 34 - }) 35 - ]; 36 37 # Ensure that meson can find an Objective-C compiler on Darwin. 38 postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' ··· 77 maintainers = with maintainers; [ qyliss ]; 78 platforms = aemu.meta.platforms; 79 }; 80 - }
··· 15 xorg, 16 }: 17 18 + stdenv.mkDerivation (finalAttrs: { 19 pname = "gfxstream"; 20 version = "0.1.2"; 21 22 src = fetchFromGitiles { 23 url = "https://android.googlesource.com/platform/hardware/google/gfxstream"; 24 + rev = "v${finalAttrs.version}-gfxstream-release"; 25 + hash = "sha256-AN6OpZQ2te4iVuh/kFHXzmLAWIMyuoj9FHTVicnbiPw="; 26 }; 27 28 # Ensure that meson can find an Objective-C compiler on Darwin. 29 postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' ··· 68 maintainers = with maintainers; [ qyliss ]; 69 platforms = aemu.meta.platforms; 70 }; 71 + })