emacs-materus: init materus configured emacs

This commit is contained in:
Mateusz Słodkowicz 2024-04-05 20:37:06 +02:00
parent 8b8d4861b5
commit 20809b08ee
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 17 additions and 14 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, callPackage}: { pkgs, callPackage }:
rec { rec {
amdgpu-pro-libs = pkgs.lib.recurseIntoAttrs { amdgpu-pro-libs = pkgs.lib.recurseIntoAttrs {
vulkan = callPackage ./libs/amdgpu-pro-libs { }; vulkan = callPackage ./libs/amdgpu-pro-libs { };
@ -9,26 +9,29 @@ rec {
}; };
ffmpeg6-amf-full = (if pkgs.lib.versionOlder pkgs.ffmpeg-full.version "6.1" then pkgs.callPackage ./apps/ffmpeg { ffmpeg6-amf-full = (if pkgs.lib.versionOlder pkgs.ffmpeg-full.version "6.1" then
inherit (pkgs.darwin.apple_sdk.frameworks) pkgs.callPackage ./apps/ffmpeg
Cocoa CoreServices CoreAudio CoreMedia AVFoundation MediaToolbox {
VideoDecodeAcceleration VideoToolbox; inherit (pkgs.darwin.apple_sdk.frameworks)
} else Cocoa CoreServices CoreAudio CoreMedia AVFoundation MediaToolbox
(pkgs.ffmpeg-full.overrideAttrs (finalAttrs: previousAttrs: {configureFlags = previousAttrs.configureFlags ++ ["--enable-amf"]; buildInputs = previousAttrs.buildInputs ++ [pkgs.amf-headers]; })) VideoDecodeAcceleration VideoToolbox;
} else
(pkgs.ffmpeg-full.overrideAttrs (finalAttrs: previousAttrs: { configureFlags = previousAttrs.configureFlags ++ [ "--enable-amf" ]; buildInputs = previousAttrs.buildInputs ++ [ pkgs.amf-headers ]; }))
); );
obs-amf = pkgs.qt6Packages.callPackage ./apps/obs { ffmpeg = ffmpeg6-amf-full; inherit libcef;}; obs-amf = pkgs.qt6Packages.callPackage ./apps/obs { ffmpeg = ffmpeg6-amf-full; inherit libcef; };
polymc = pkgs.qt6Packages.callPackage ./apps/games/polymc {}; polymc = pkgs.qt6Packages.callPackage ./apps/games/polymc { };
alvr = pkgs.callPackage ./apps/games/alvr {}; alvr = pkgs.callPackage ./apps/games/alvr { };
vpk_fuse = callPackage ./apps/vpk_fuse.nix {}; vpk_fuse = callPackage ./apps/vpk_fuse.nix { };
fbset = callPackage ./apps/fbset.nix {}; fbset = callPackage ./apps/fbset.nix { };
libcef = callPackage ./libs/libcef.nix {}; libcef = callPackage ./libs/libcef.nix { };
lh2ctrl = callPackage ./apps/lh2ctrl.nix {}; lh2ctrl = callPackage ./apps/lh2ctrl.nix { };
emacs-materus = (pkgs.emacs29.override { withSQLite3 = true; withWebP = true; withX = true; withGTK3 = true; withAlsaLib = true; withGconf = true; withImageMagick = true; withXwidgets = true; });
} }