diff options
author | CRTified <carl.schneider+github@ruhr-uni-bochum.de> | 2020-07-30 00:01:22 +0200 |
---|---|---|
committer | CRTified <carl.schneider+github@ruhr-uni-bochum.de> | 2020-08-10 14:48:35 +0200 |
commit | a8a7185795f40eed8251c5716bf40b0cc07afc30 (patch) | |
tree | c0acf65898eafda6d3d6413f5f7f24dcdbef1f85 /pkgs/tools/misc/lottieconverter | |
parent | 2053fb35a2ab6c833d3200684a07d747aaa95f3b (diff) |
LottieConverter: init at 0.1.1
Diffstat (limited to 'pkgs/tools/misc/lottieconverter')
-rw-r--r-- | pkgs/tools/misc/lottieconverter/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/misc/lottieconverter/default.nix b/pkgs/tools/misc/lottieconverter/default.nix new file mode 100644 index 0000000000000..bf2a68df702ad --- /dev/null +++ b/pkgs/tools/misc/lottieconverter/default.nix @@ -0,0 +1,33 @@ +{ 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 ]; + }; +} |