at 18.03-beta 38 lines 781 B view raw
1{ stdenv, fetchFromGitHub, unzip }: 2 3stdenv.mkDerivation rec 4{ 5 name = "openfx-${version}"; 6 version = "1.4"; 7 8 src = fetchFromGitHub { 9 owner = "ofxa"; 10 repo = "openfx"; 11 rev = "OFX_Release_1_4_TAG"; 12 sha256 = "0k9ggzr6bisn77mipjfvawg3mv4bz50b63v8f7w1jhldi1sfy548"; 13 }; 14 15 buildInputs = [ unzip ]; 16 17 outputs = [ "dev" "out" ]; 18 19 enableParallelBuilding = true; 20 21 buildPhase = '' 22 mkdir $dev 23 mkdir $out 24 ''; 25 26 installPhase = '' 27 mkdir -p $dev/include/OpenFX/ 28 cp -r include/* $dev/include/OpenFX/ 29 ''; 30 31 meta = with stdenv.lib; { 32 description = "Image processing plug-in standard"; 33 homepage = "http://openeffects.org/"; 34 license = licenses.bsd3; 35 platforms = platforms.all; 36 maintainers = [ maintainers.guibou ]; 37 }; 38}