3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #118336 from eduardosm/ruffle

ruffle: nightly-2021-01-12 -> nightly-2021-04-02
This commit is contained in:
Sandro 2021-04-02 20:41:41 +02:00 committed by GitHub
commit 154fbbdf41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,13 +13,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "ruffle"; pname = "ruffle";
version = "nightly-2021-01-12"; version = "nightly-2021-04-02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ruffle-rs"; owner = "ruffle-rs";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1lywxn61w0b3pb8vjpavd9f3v58gq35ypwp41b7rjkc4rjxmf3cd"; sha256 = "1diz94y53hvii28894zz65aya12v8yw1864lqpkrdbj67yc6ykdj";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -42,10 +42,13 @@ rustPlatform.buildRustPackage rec {
]; ];
postInstall = '' postInstall = ''
# This name is too generic
mv $out/bin/exporter $out/bin/ruffle_exporter
wrapProgram $out/bin/ruffle_desktop --prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib wrapProgram $out/bin/ruffle_desktop --prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib
''; '';
cargoSha256 = "113gh8nf2fs9shfvnzpwlc7zaq1l9l9jhlybcc4dq0wr4r8qpff5"; cargoSha256 = "0pnp5kmij4dwwvmgdv81mqcawcjcgg5gd6cpyf0xalyfjgj8i732";
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.";