diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-01 18:42:52 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-01 18:57:43 +0200 |
commit | f0206aba5e52dfed4ccd6c70f3989cba9396434a (patch) | |
tree | 6433b8295c984751d82e980131efae7996d94e70 | |
parent | 41ec7095a77438ed966867baf3ad892971a11112 (diff) |
opencolorio: Use separate outputs
Also, make the package name match the attribute (and upstream) name.
-rw-r--r-- | pkgs/development/libraries/opencolorio/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/libraries/opencolorio/default.nix b/pkgs/development/libraries/opencolorio/default.nix index 28d361ea7b8d1..db9a5aeed21eb 100644 --- a/pkgs/development/libraries/opencolorio/default.nix +++ b/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; }; -} \ No newline at end of file +} |