Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation { 4 pname = "openfx"; 5 version = "1.4"; 6 7 src = fetchFromGitHub { 8 owner = "ofxa"; 9 repo = "openfx"; 10 rev = "OFX_Release_1_4_TAG"; 11 sha256 = "0k9ggzr6bisn77mipjfvawg3mv4bz50b63v8f7w1jhldi1sfy548"; 12 }; 13 14 outputs = [ "dev" "out" ]; 15 16 enableParallelBuilding = true; 17 18 buildPhase = '' 19 mkdir $dev 20 mkdir $out 21 ''; 22 23 installPhase = '' 24 mkdir -p $dev/include/OpenFX/ 25 cp -r include/* $dev/include/OpenFX/ 26 ''; 27 28 meta = with lib; { 29 description = "Image processing plug-in standard"; 30 homepage = "http://openeffects.org/"; 31 license = licenses.bsd3; 32 platforms = platforms.all; 33 maintainers = [ maintainers.guibou ]; 34 }; 35}