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