scrcpy: 2.7 -> 3.0 (#358820)

This commit is contained in:
Donovan Glover 2024-11-26 02:03:52 +00:00 committed by GitHub
commit cbdb3a015c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,12 +16,12 @@
}: }:
let let
version = "2.7"; version = "3.0";
prebuilt_server = fetchurl { prebuilt_server = fetchurl {
name = "scrcpy-server"; name = "scrcpy-server";
inherit version; inherit version;
url = "https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}"; url = "https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}";
hash = "sha256-ojxWWfNsJg8QXAItJ7yz6v/6JgcOe6qe2mbQE3ehrbo="; hash = "sha256-gABExiqU1fwW9auchtRbEFDq4+tDZRTRsNL+Jka4lOo=";
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
owner = "Genymobile"; owner = "Genymobile";
repo = "scrcpy"; repo = "scrcpy";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-OBMm/GkiIdZaJd9X62vY4M6FVKiHTBwqRtH220bYej4="; hash = "sha256-fKfiBx3uQH30ZLCWRY33KyisjxLDvWJCdKbGn4j0dWw=";
}; };
# display.c: When run without a hardware accelerator, this allows the command to continue working rather than failing unexpectedly. # display.c: When run without a hardware accelerator, this allows the command to continue working rather than failing unexpectedly.