about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/rlottie/default.nix
blob: f1d3ffd02124e2ed556e0549e484071ddcdeb33b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config }:

stdenv.mkDerivation rec {
  pname = "rlottie";
  version = "0.2";

  src = fetchFromGitHub {
    owner = "Samsung";
    repo = pname;
    rev = "v${version}";
    sha256 = "10bxr1zf9wxl55d4cw2j02r6sgqln7mbxplhhfvhw0z92fi40kr3";
  };

  nativeBuildInputs = [ meson ninja pkg-config ];

  meta = with lib; {
    homepage = "https://github.com/Samsung/rlottie";
    description = "A platform independent standalone c++ library for rendering vector based animations and art in realtime";
    license = with licenses; [ mit bsd3 mpl11 ftl ];
    platforms = platforms.all;
    maintainers = with maintainers; [ CRTified ];
  };
}