Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
71 lines
1.0 KiB
Nix
71 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
cmake,
|
|
curl,
|
|
zlib,
|
|
ffmpeg,
|
|
glew,
|
|
pcre,
|
|
rtmpdump,
|
|
cairo,
|
|
boost,
|
|
SDL2,
|
|
libjpeg,
|
|
pango,
|
|
xz,
|
|
nasm,
|
|
llvm,
|
|
glibmm,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lightspark";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lightspark";
|
|
repo = "lightspark";
|
|
rev = version;
|
|
hash = "sha256-2+Kmwj2keCMR7UbKbY6UvrkX4CnW61elres8ltiZuUg=";
|
|
};
|
|
|
|
postPatch = ''
|
|
sed -i 's/SET(ETCDIR "\/etc")/SET(ETCDIR "etc")/g' CMakeLists.txt
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
zlib
|
|
ffmpeg
|
|
glew
|
|
pcre
|
|
rtmpdump
|
|
cairo
|
|
boost
|
|
SDL2
|
|
libjpeg
|
|
pango
|
|
xz
|
|
nasm
|
|
llvm
|
|
glibmm
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Open source Flash Player implementation";
|
|
homepage = "https://lightspark.github.io/";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ jchw ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "lightspark";
|
|
};
|
|
}
|