nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 51 lines 974 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 pkg-config, 7 qt6, 8 libvlc, 9 libvlcpp, 10}: 11 12stdenv.mkDerivation (finalAttrs: { 13 pname = "mfaomp"; 14 version = "0.4.3"; 15 16 src = fetchFromGitHub { 17 owner = "Neurofibromin"; 18 repo = "mfaomp"; 19 tag = "v${finalAttrs.version}"; 20 hash = "sha256-b8eIG5UC1i4yfHSStNwhgIttTS+g511RmFJ5OYxeYvM="; 21 }; 22 23 nativeBuildInputs = [ 24 cmake 25 pkg-config 26 qt6.wrapQtAppsHook 27 ]; 28 29 buildInputs = [ 30 qt6.qtbase 31 qt6.qtmultimedia 32 qt6.qtwebengine 33 qt6.qtsvg 34 libvlc 35 libvlcpp 36 ]; 37 38 cmakeFlags = [ 39 (lib.cmakeBool "USE_SYSTEM_PROVIDED_LIBVLCPP" true) 40 (lib.cmakeBool "USE_FETCHED_LIBVLCPP" false) 41 ]; 42 43 meta = { 44 description = "Multiple Files At Once Media Player"; 45 homepage = "https://github.com/Neurofibromin/mfaomp"; 46 license = lib.licenses.gpl3Plus; 47 maintainers = with lib.maintainers; [ neurofibromin ]; 48 platforms = lib.platforms.linux; 49 mainProgram = "mfaomp"; 50 }; 51})