mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
Merge pull request #327484 from ryand56/update-scrcpy
scrcpy: 2.4 -> 2.5
This commit is contained in:
commit
cfe6ad13d5
@ -16,12 +16,12 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.4";
|
||||
version = "2.5";
|
||||
prebuilt_server = fetchurl {
|
||||
name = "scrcpy-server";
|
||||
inherit version;
|
||||
url = "https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}";
|
||||
hash = "sha256-k8Jyt0OGBcBV4Sf3REBk7Xj6nKSfgRVnd/0gHnnOe6M=";
|
||||
hash = "sha256-FIixEF1q/1NIc6Jr9hDNKuoG7oZ916TZxrssCROW6xU=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "Genymobile";
|
||||
repo = "scrcpy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-x1feZgCR3ZUi40/YZSjDULYk4W9Pjo17cn8RqcOoeoE=";
|
||||
hash = "sha256-VdZZ23tlWYvDgETfce7kYy/kdwDGBEBzB6UfplorAbE=";
|
||||
};
|
||||
|
||||
# display.c: When run without a hardware accelerator, this allows the command to continue working rather than failing unexpectedly.
|
||||
@ -63,17 +63,17 @@ stdenv.mkDerivation rec {
|
||||
--replace "/bin/bash" "${runtimeShell}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Display and control Android devices over USB or TCP/IP";
|
||||
homepage = "https://github.com/Genymobile/scrcpy";
|
||||
changelog = "https://github.com/Genymobile/scrcpy/releases/tag/v${version}";
|
||||
sourceProvenance = with sourceTypes; [
|
||||
sourceProvenance = with lib.sourceTypes; [
|
||||
fromSource
|
||||
binaryBytecode # server
|
||||
];
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ deltaevo ];
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ deltaevo ryand56 ];
|
||||
mainProgram = "scrcpy";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user