Merge pull request #331622 from ryand56/update/scrcpy

scrcpy: 2.5 -> 2.6.1; migrate to pkgs/by-name
This commit is contained in:
Peder Bergebakken Sundt 2024-08-09 01:01:03 +02:00 committed by GitHub
commit c3f597a013
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -16,12 +16,12 @@
}: }:
let let
version = "2.5"; version = "2.6.1";
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-FIixEF1q/1NIc6Jr9hDNKuoG7oZ916TZxrssCROW6xU="; hash = "sha256-ynq1Cy4loOWvdZnDA4PjZZg/pbgI5lzi4cG7pb/o3Ds=";
}; };
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-VdZZ23tlWYvDgETfce7kYy/kdwDGBEBzB6UfplorAbE="; hash = "sha256-p5OQKi6JEam+bmtMKUY9WsQlI7tpExsIZQgGdgOj2sE=";
}; };
# 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.

View File

@ -12459,8 +12459,6 @@ with pkgs;
inherit (darwin.apple_sdk.libs) utmp; inherit (darwin.apple_sdk.libs) utmp;
}; };
scrcpy = callPackage ../misc/scrcpy { };
screen-message = callPackage ../tools/X11/screen-message { }; screen-message = callPackage ../tools/X11/screen-message { };
screenkey = callPackage ../applications/video/screenkey { }; screenkey = callPackage ../applications/video/screenkey { };