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
52 lines
974 B
Nix
52 lines
974 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
qt6,
|
|
libvlc,
|
|
libvlcpp,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "mfaomp";
|
|
version = "0.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Neurofibromin";
|
|
repo = "mfaomp";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-b8eIG5UC1i4yfHSStNwhgIttTS+g511RmFJ5OYxeYvM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
qt6.wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
qt6.qtbase
|
|
qt6.qtmultimedia
|
|
qt6.qtwebengine
|
|
qt6.qtsvg
|
|
libvlc
|
|
libvlcpp
|
|
];
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeBool "USE_SYSTEM_PROVIDED_LIBVLCPP" true)
|
|
(lib.cmakeBool "USE_FETCHED_LIBVLCPP" false)
|
|
];
|
|
|
|
meta = {
|
|
description = "Multiple Files At Once Media Player";
|
|
homepage = "https://github.com/Neurofibromin/mfaomp";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ neurofibromin ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "mfaomp";
|
|
};
|
|
})
|