mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 02:51:18 +00:00
38 lines
767 B
Nix
38 lines
767 B
Nix
{ stdenv, fetchFromGitHub, unzip }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "openfx";
|
|
version = "1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ofxa";
|
|
repo = "openfx";
|
|
rev = "OFX_Release_1_4_TAG";
|
|
sha256 = "0k9ggzr6bisn77mipjfvawg3mv4bz50b63v8f7w1jhldi1sfy548";
|
|
};
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
outputs = [ "dev" "out" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
buildPhase = ''
|
|
mkdir $dev
|
|
mkdir $out
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $dev/include/OpenFX/
|
|
cp -r include/* $dev/include/OpenFX/
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Image processing plug-in standard";
|
|
homepage = "http://openeffects.org/";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.guibou ];
|
|
};
|
|
}
|