Unverified Commit 26a746ba authored by K900's avatar K900 Committed by GitHub
Browse files

[Backport release-25.11] opentimelineio: 0.17 -> 0.18.1 (#465632)

parents 786a25ca 33efc8aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9,13 +9,13 @@

stdenv.mkDerivation rec {
  pname = "opentimelineio";
  version = "0.17.0";
  version = "0.18.1";

  src = fetchFromGitHub {
    owner = "AcademySoftwareFoundation";
    repo = "OpenTimelineIO";
    rev = "v${version}";
    hash = "sha256-53KXjbhHxuEtu6iRGWrirvFamuZ/WbOTcKCfs1iqKmM=";
    hash = "sha256-PEqQraLx6wiJecytp37q15VayOn2fvaSlOeLs3qrRqo=";
  };

  nativeBuildInputs = [

pkgs/by-name/ot/otio/package.nix

deleted100644 → 0
+0 −48
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  cmake,
  fetchFromGitHub,
  imath,
  python3,
  rapidjson,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "otio";
  version = "0.17.0";

  src = fetchFromGitHub {
    owner = "AcademySoftwareFoundation";
    repo = "OpenTimelineIO";
    tag = "v${finalAttrs.version}";
    hash = "sha256-53KXjbhHxuEtu6iRGWrirvFamuZ/WbOTcKCfs1iqKmM=";
  };

  nativeBuildInputs = [
    cmake
    python3
  ];

  buildInputs = [
    imath
    rapidjson
  ];

  cmakeFlags = [
    (lib.cmakeBool "OTIO_PYTHON_INSTALL" false)
    (lib.cmakeBool "OTIO_DEPENDENCIES_INSTALL" false)
    (lib.cmakeBool "OTIO_FIND_IMATH" true)
    (lib.cmakeBool "OTIO_SHARED_LIBS" true)
    (lib.cmakeBool "OTIO_AUTOMATIC_SUBMODULES" false)
  ];

  meta = {
    description = "Interchange format and API for editorial cut information";
    homepage = "http://opentimeline.io/";
    changelog = "https://github.com/AcademySoftwareFoundation/OpenTimelineIO/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ liberodark ];
    platforms = lib.platforms.linux;
  };
})