mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Merge pull request #331622 from ryand56/update/scrcpy
scrcpy: 2.5 -> 2.6.1; migrate to pkgs/by-name
This commit is contained in:
commit
c3f597a013
@ -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.
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user