10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 sha256 = "10bxr1zf9wxl55d4cw2j02r6sgqln7mbxplhhfvhw0z92fi40kr3";
22 # Fixed build with GCC 11
24 url = "https://github.com/Samsung/rlottie/commit/2d7b1fa2b005bba3d4b45e8ebfa632060e8a157a.patch";
25 hash = "sha256-2JPsj0WiBMMu0N3NUYDrHumvPN2YS8nPq5Zwagx6UWE=";
29 nativeBuildInputs = [ meson ninja pkg-config ];
31 env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-U__ARM_NEON__";
34 homepage = "https://github.com/Samsung/rlottie";
35 description = "A platform independent standalone c++ library for rendering vector based animations and art in realtime";
36 license = with licenses; [ mit bsd3 mpl11 ftl ];
37 platforms = platforms.all;
38 maintainers = with maintainers; [ CRTified ];