Merge pull request #109271 from eduardosm/ruffle

ruffle: nightly-2020-11-30 -> nightly-2021-01-12
This commit is contained in:
Sandro 2021-01-22 02:17:38 +01:00 committed by GitHub
commit fd0daed2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
{ alsaLib { alsaLib
, fetchFromGitHub , fetchFromGitHub
, makeWrapper
, openssl , openssl
, pkg-config , pkg-config
, python3 , python3
@ -7,20 +8,22 @@
, lib, stdenv , lib, stdenv
, wayland , wayland
, xorg , xorg
, vulkan-loader
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "ruffle"; pname = "ruffle";
version = "nightly-2020-11-30"; version = "nightly-2021-01-12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ruffle-rs"; owner = "ruffle-rs";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0z54swzy47laq3smficd3dyrs2zdi3cj2kb0b4hppjxpkkhiw4x0"; sha256 = "1lywxn61w0b3pb8vjpavd9f3v58gq35ypwp41b7rjkc4rjxmf3cd";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
makeWrapper
pkg-config pkg-config
python3 python3
]; ];
@ -35,9 +38,14 @@ rustPlatform.buildRustPackage rec {
xorg.libXi xorg.libXi
xorg.libxcb xorg.libxcb
xorg.libXrender xorg.libXrender
vulkan-loader
]; ];
cargoSha256 = "05kwfcbzjyyfhiqklhhlv06pinzw9bry4j8l9lk3k04c1q30gzkw"; postInstall = ''
wrapProgram $out/bin/ruffle_desktop --prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib
'';
cargoSha256 = "113gh8nf2fs9shfvnzpwlc7zaq1l9l9jhlybcc4dq0wr4r8qpff5";
meta = with lib; { meta = with lib; {
description = "An Adobe Flash Player emulator written in the Rust programming language."; description = "An Adobe Flash Player emulator written in the Rust programming language.";