mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
moonlight-qt: 6.0.0 -> 6.0.1
This commit is contained in:
parent
a5110a69ae
commit
40af21d0b3
@ -2,7 +2,6 @@
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
darwin,
|
||||
overrideSDK,
|
||||
libsForQt5,
|
||||
@ -35,30 +34,16 @@ in
|
||||
|
||||
stdenv'.mkDerivation rec {
|
||||
pname = "moonlight-qt";
|
||||
version = "6.0.0";
|
||||
version = "6.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "moonlight-stream";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-tXlcHQhXnGdZqUlOHPN1f4vaGlF/kGkTybVW/+FMGX8=";
|
||||
sha256 = "sha256-zrl8WPXvQ/7FTqFnpwoXEJ85prtgJWoWNsdckw5+JHI=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Add 'CONFIG+=disable-prebuilts' qmake option
|
||||
# When specified, qmake uses pkg-config for libraries on macOS instead of the prebuilts in the libs submodule.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/moonlight-stream/moonlight-qt/commit/83811e2a077b78409cf79ed77b8437041159ad88.patch";
|
||||
hash = "sha256-JlYtUiY0jJMNjF4KWpo58MOGufbl+od+UC+uxmu3ZF4=";
|
||||
})
|
||||
# Don't bundle libs into the final app package if disable-prebuilts is set
|
||||
(fetchpatch {
|
||||
url = "https://github.com/moonlight-stream/moonlight-qt/commit/640ac3f9fe90197c826c9694942b9cd7be53f757.patch";
|
||||
hash = "sha256-l7bpkR9f3+Xwx5e7p9IGddjHrV77BrCHkTQ9cwDyYeY=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
libsForQt5.qmake
|
||||
libsForQt5.wrapQtAppsHook
|
||||
|
Loading…
Reference in New Issue
Block a user