Files
nixpkgs/pkgs/by-name/ot/otio/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
1.1 KiB
Nix

{
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;
};
})