2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, unzip }:
|
2017-09-17 20:32:03 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "openfx";
|
2017-09-17 20:32:03 +00:00
|
|
|
version = "1.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ofxa";
|
|
|
|
repo = "openfx";
|
|
|
|
rev = "OFX_Release_1_4_TAG";
|
|
|
|
sha256 = "0k9ggzr6bisn77mipjfvawg3mv4bz50b63v8f7w1jhldi1sfy548";
|
|
|
|
};
|
|
|
|
|
2021-02-20 21:01:53 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2017-09-17 20:32:03 +00:00
|
|
|
|
|
|
|
outputs = [ "dev" "out" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
mkdir $dev
|
|
|
|
mkdir $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $dev/include/OpenFX/
|
|
|
|
cp -r include/* $dev/include/OpenFX/
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-09-17 20:32:03 +00:00
|
|
|
description = "Image processing plug-in standard";
|
|
|
|
homepage = "http://openeffects.org/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.guibou ];
|
|
|
|
};
|
|
|
|
}
|