opencolorio: Use separate outputs
Also, make the package name match the attribute (and upstream) name.
This commit is contained in:
parent
41ec7095a7
commit
f0206aba5e
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, cmake, unzip }:
|
{ stdenv, fetchurl, cmake, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocio-${version}";
|
name = "opencolorio-${version}";
|
||||||
version = "1.0.9";
|
version = "1.0.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -9,8 +9,15 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "14j80dgbb6f09z63aqh2874vhzpga6zksz8jmqnj1zh87x15pqnr";
|
sha256 = "14j80dgbb6f09z63aqh2874vhzpga6zksz8jmqnj1zh87x15pqnr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "bin" "out" "dev" ];
|
||||||
|
|
||||||
buildInputs = [ cmake unzip ];
|
buildInputs = [ cmake unzip ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
rm $out/lib/*.a
|
||||||
|
mkdir -p $bin/bin; mv $out/bin $bin/
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://opencolorio.org;
|
homepage = http://opencolorio.org;
|
||||||
description = "A color management framework for visual effects and animation";
|
description = "A color management framework for visual effects and animation";
|
||||||
@ -18,4 +25,4 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = [ maintainers.goibhniu ];
|
maintainers = [ maintainers.goibhniu ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user