summary refs log tree commit diff
path: root/pkgs/development/libraries/openfx/default.nix
blob: 201bf16ad647613e9508ab42e13ebc741606e1c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation {
  pname = "openfx";
  version = "1.4";

  src = fetchFromGitHub {
    owner = "ofxa";
    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 = "http://openeffects.org/";
    license = licenses.bsd3;
    platforms = platforms.all;
    maintainers = [ maintainers.guibou ];
  };
}