depot/third_party/nixpkgs/pkgs/applications/video/bino3d/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

55 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchgit,
cmake,
ninja,
pkg-config,
pandoc,
wrapQtAppsHook,
qtbase,
qtmultimedia,
qttools,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bino";
version = "2.2";
src = fetchgit {
url = "https://git.marlam.de/git/bino.git";
rev = "bino-${finalAttrs.version}";
hash = "sha256-t7bkpYOswGEjUg+k2gjUkWwZJjj44KIVrEQs5P4DoSI=";
};
nativeBuildInputs = [
cmake
ninja
pkg-config
pandoc
wrapQtAppsHook
];
buildInputs = [
qtbase
qtmultimedia
qttools
# The optional QVR dependency is not currently packaged.
];
# LTO is currently broken on macOS.
# https://github.com/NixOS/nixpkgs/issues/19098
cmakeFlags = lib.optionals stdenv.isDarwin [
(lib.cmakeBool "CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE" false)
];
meta = {
description = "Video player with a focus on 3D and Virtual Reality";
homepage = "https://bino3d.org/";
sourceProvenance = [ lib.sourceTypes.fromSource ];
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.orivej ];
platforms = lib.platforms.unix;
mainProgram = "bino";
};
})