depot/third_party/nixpkgs/pkgs/development/libraries/openfx/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

35 lines
752 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "openfx";
version = "1.4";
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "openfx";
rev = "OFX_Release_1_4_TAG";
sha256 = "0k9ggzr6bisn77mipjfvawg3mv4bz50b63v8f7w1jhldi1sfy548";
};
outputs = [ "dev" "out" ];
enableParallelBuilding = true;
buildPhase = ''
mkdir $dev
mkdir $out
'';
installPhase = ''
mkdir -p $dev/include/OpenFX/
cp -r include/* $dev/include/OpenFX/
'';
meta = with lib; {
description = "Image processing plug-in standard";
homepage = "https://openeffects.org/";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = [ maintainers.guibou ];
};
}