scrcpy: 2.5 -> 2.6; migrate to pkgs/by-name

This commit is contained in:
Ryan Omasta
2024-08-01 16:20:34 -06:00
parent e700287f93
commit abbda0a917
2 changed files with 3 additions and 5 deletions

View File

@@ -16,12 +16,12 @@
}:
let
version = "2.5";
version = "2.6";
prebuilt_server = fetchurl {
name = "scrcpy-server";
inherit version;
url = "https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}";
hash = "sha256-FIixEF1q/1NIc6Jr9hDNKuoG7oZ916TZxrssCROW6xU=";
hash = "sha256-e3I/95on8U5uuqqufvlUjEBlHJTmTReGErE633FY6y4=";
};
in
stdenv.mkDerivation rec {
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
owner = "Genymobile";
repo = "scrcpy";
rev = "refs/tags/v${version}";
hash = "sha256-VdZZ23tlWYvDgETfce7kYy/kdwDGBEBzB6UfplorAbE=";
hash = "sha256-ROtdqWcpMZ+AtKr80QofSlDDaxSFEJQTrlt+8h67uPk=";
};
# display.c: When run without a hardware accelerator, this allows the command to continue working rather than failing unexpectedly.

View File

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