2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config }:
|
2020-07-29 23:59:46 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rlottie";
|
2021-06-06 13:15:36 +02:00
|
|
|
version = "0.2";
|
2020-07-29 23:59:46 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Samsung";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-06-06 13:15:36 +02:00
|
|
|
sha256 = "10bxr1zf9wxl55d4cw2j02r6sgqln7mbxplhhfvhw0z92fi40kr3";
|
2020-07-29 23:59:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-07-29 23:59:46 +02:00
|
|
|
homepage = "https://github.com/Samsung/rlottie";
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "A platform independent standalone c++ library for rendering vector based animations and art in realtime";
|
2021-06-06 13:15:36 +02:00
|
|
|
license = with licenses; [ mit bsd3 mpl11 ftl ];
|
2020-07-29 23:59:46 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ CRTified ];
|
|
|
|
};
|
|
|
|
}
|