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.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…
Reference in New Issue
Block a user