0eaa97ffad
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
33 lines
788 B
Nix
33 lines
788 B
Nix
{ stdenv, fetchFromGitHub, libpng, rlottie, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "LottieConverter";
|
|
version = "0.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sot-tech";
|
|
repo = pname;
|
|
rev = "r${version}";
|
|
hash = "sha256-lAGzh6B2js2zDuN+1U8CZnse09RJGZRXbtmsheGKuYU=";
|
|
};
|
|
|
|
buildInputs = [ libpng rlottie zlib ];
|
|
makeFlags = [ "CONF=Release" ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/bin
|
|
cp -v dist/Release/GNU-Linux/lottieconverter $out/bin/
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/sot-tech/LottieConverter/";
|
|
description = "Lottie converter utility";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ CRTified ];
|
|
};
|
|
}
|