git.iko.soy/typeable/nixpkgs
on master help sign in
ruffle: init at nightly-2020-11-30
commit4aa4333504abbff87d07503852b3727e050b6be3 authorGauvain 'GovanifY' Roussel-Tarbouriech <gauvain@govanify.com> dateMon 30 Nov 2020, 10:08 (6 years ago) parent9d5d6b0
2 files changed+51
pkgs/misc/emulators/ruffle/default.nix+49 pkgs/top-level/all-packages.nix+2
pkgs/misc/emulators/ruffle/default.nixnew file+49
@@ -0,0 +1,49 @@
1+{ alsaLib
2+, fetchFromGitHub
3+, openssl
4+, pkg-config
5+, python3
6+, rustPlatform
7+, stdenv
8+, wayland
9+, xorg
10+}:
11+
12+rustPlatform.buildRustPackage rec {
13+ pname = "ruffle";
14+ version = "nightly-2020-11-30";
15+
16+ src = fetchFromGitHub {
17+ owner = "ruffle-rs";
18+ repo = pname;
19+ rev = version;
20+ sha256 = "0z54swzy47laq3smficd3dyrs2zdi3cj2kb0b4hppjxpkkhiw4x0";
21+ };
22+
23+ nativeBuildInputs = [
24+ pkg-config
25+ python3
26+ ];
27+
28+ buildInputs = [
29+ alsaLib
30+ openssl
31+ wayland
32+ xorg.libX11
33+ xorg.libXcursor
34+ xorg.libXrandr
35+ xorg.libXi
36+ xorg.libxcb
37+ xorg.libXrender
38+ ];
39+
40+ cargoSha256 = "05kwfcbzjyyfhiqklhhlv06pinzw9bry4j8l9lk3k04c1q30gzkw";
41+
42+ meta = with stdenv.lib; {
43+ description = "An Adobe Flash Player emulator written in the Rust programming language.";
44+ homepage = "https://ruffle.rs/";
45+ license = with licenses; [ mit asl20 ];
46+ maintainers = with maintainers; [ govanify ];
47+ platforms = platforms.linux;
48+ };
49+}
pkgs/top-level/all-packages.nix+2
@@ -6995,6 +6995,8 @@ in
69956995
69966996 rubocop = callPackage ../development/tools/rubocop { };
69976997
6998+ ruffle = callPackage ../misc/emulators/ruffle { };
6999+
69987000 runelite = callPackage ../games/runelite { };
69997001
70007002 runningx = callPackage ../tools/X11/runningx { };