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