diff --git a/pkgs/development/libraries/opencolorio/1.x.nix b/pkgs/development/libraries/opencolorio/1.x.nix index ba12a82ffaa7..e910b77decae 100644 --- a/pkgs/development/libraries/opencolorio/1.x.nix +++ b/pkgs/development/libraries/opencolorio/1.x.nix @@ -3,22 +3,22 @@ lib, fetchFromGitHub, cmake, - boost, + git, pkg-config, lcms2, tinyxml, - git, + boost, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAtts: { pname = "opencolorio"; version = "1.1.1"; src = fetchFromGitHub { owner = "imageworks"; repo = "OpenColorIO"; - rev = "v${version}"; - sha256 = "12srvxca51czpfjl0gabpidj9n84mw78ivxy5w75qhq2mmc798sb"; + tag = "v${finalAtts.version}"; + hash = "sha256-S6N0WK0CQ1wOL77viA6vBNkkW7xLPUClu5+FoljfWYs="; }; outputs = [ @@ -30,8 +30,8 @@ stdenv.mkDerivation rec { # TODO: Investigate whether git can be dropped: It's only used to apply patches nativeBuildInputs = [ cmake - pkg-config git + pkg-config ]; buildInputs = [ @@ -73,11 +73,11 @@ stdenv.mkDerivation rec { --replace "$out/bin" "$bin/bin" ''; - meta = with lib; { + meta = { homepage = "https://opencolorio.org"; description = "Color management framework for visual effects and animation"; - license = licenses.bsd3; - maintainers = [ ]; - platforms = platforms.unix; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ yzx9 ]; + platforms = lib.platforms.unix; }; -} +})