opencolorio: Use separate outputs

Also, make the package name match the attribute (and upstream) name.
wip/yesman
Eelco Dolstra 8 years ago
parent 41ec7095a7
commit f0206aba5e
  1. 11
      pkgs/development/libraries/opencolorio/default.nix

@ -1,7 +1,7 @@
{ stdenv, fetchurl, cmake, unzip }:
stdenv.mkDerivation rec {
name = "ocio-${version}";
name = "opencolorio-${version}";
version = "1.0.9";
src = fetchurl {
@ -9,8 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "14j80dgbb6f09z63aqh2874vhzpga6zksz8jmqnj1zh87x15pqnr";
};
outputs = [ "bin" "out" "dev" ];
buildInputs = [ cmake unzip ];
postInstall = ''
rm $out/lib/*.a
mkdir -p $bin/bin; mv $out/bin $bin/
'';
meta = with stdenv.lib; {
homepage = http://opencolorio.org;
description = "A color management framework for visual effects and animation";
@ -18,4 +25,4 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
}
}

Loading…
Cancel
Save