1 { lib, stdenv, fetchFromGitHub, pkg-config, cmake, curl, zlib, ffmpeg, glew, pcre
2 , rtmpdump, cairo, boost, SDL2, libjpeg, pango, xz, nasm, llvm, glibmm
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 hash = "sha256-qX/ft9slWTbvuSyi2jB6YC7D7QTtCybL/dTo1dJp3pQ=";
17 sed -i 's/SET(ETCDIR "\/etc")/SET(ETCDIR "etc")/g' CMakeLists.txt
20 nativeBuildInputs = [ pkg-config cmake ];
23 curl zlib ffmpeg glew pcre rtmpdump cairo boost SDL2 libjpeg pango xz nasm
28 description = "Open source Flash Player implementation";
29 homepage = "https://lightspark.github.io/";
30 license = licenses.lgpl3Plus;
31 maintainers = with maintainers; [ jchw ];
32 platforms = platforms.linux;
33 mainProgram = "lightspark";