matt1432
ff174f96c7
All checks were successful
Discord / discord commits (push) Has been skipped
Flake Inputs: • Updated input 'ags': 'github:Aylur/ags/aaef50b' (2024-09-09) → 'github:Aylur/ags/cd543af' (2024-09-25) • Updated input 'astal': 'github:Aylur/astal/8cab7d0' (2024-09-22) → 'github:Aylur/astal/c68d116' (2024-09-26) • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay/26645e5' (2024-09-21) → 'github:matt1432/discord-nightly-overlay/ce9de15' (2024-09-26) • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=77364b7' (2024-09-21) → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=0b20a46' (2024-09-26) • Updated input 'gtk-theme-src': 'github:dracula/gtk/19e0dcb' (2024-09-07) → 'github:dracula/gtk/f2d2ea5' (2024-09-24) • Updated input 'home-manager': 'github:nix-community/home-manager/04213d1' (2024-09-22) → 'github:nix-community/home-manager/c124568' (2024-09-26) • Updated input 'hyprland': 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=e5ff19a&submodules=1' (2024-09-22) → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=caaa9b1&submodules=1' (2024-09-26) • Updated input 'hyprland-plugins': 'github:hyprwm/hyprland-plugins/b73d7b9' (2024-08-08) → 'github:hyprwm/hyprland-plugins/4fcb465' (2024-09-25) • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS/d71bcb4' (2024-09-22) → 'github:Jovian-Experiments/Jovian-NixOS/03aa054' (2024-09-23) • Updated input 'libratbag-src': 'github:libratbag/libratbag/1c96620' (2024-06-04) → 'github:libratbag/libratbag/9f4789f' (2024-09-24) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/43a085b' (2024-09-22) → 'github:fufexan/nix-gaming/f3e9775' (2024-09-23) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c04d565' (2024-09-19) → 'github:NixOS/nixpkgs/30439d9' (2024-09-23) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/a1318d7' (2024-09-22) → 'github:nix-community/nixpkgs-wayland/73529b9' (2024-09-26) • Updated input 'pcsd': 'github:matt1432/nixos-pcsd/213d6cc' (2024-09-19) → 'github:matt1432/nixos-pcsd/d8425da' (2024-09-24) • Updated input 'piper-src': 'github:libratbag/piper/93a5a00' (2024-08-22) → 'github:libratbag/piper/0f72869' (2024-09-24) • Updated input 'spotifyplus-src': 'github:thlucas1/homeassistantcomponent_spotifyplus/8785192' (2024-09-20) → 'github:thlucas1/homeassistantcomponent_spotifyplus/dbc279f' (2024-09-25) • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython/3750e0e' (2024-09-20) → 'github:thlucas1/SpotifyWebApiPython/59a7cb4' (2024-09-24) • Updated input 'vimplugin-ts-error-translator-src': 'github:dmmulroy/ts-error-translator.nvim/11ae55b' (2024-04-04) → 'github:dmmulroy/ts-error-translator.nvim/3bd23c4' (2024-09-23) Docker Images: • vegardit/gitea-act-runner dind-latest: sha256:378efec2a8f9e17874965b6a03ea935b0195eb85bdf60305eee994f684134f27 → sha256:c265e8cc15e287ca7bef81a1f31e400c6b7c69e787e12d050b8556286a9b6c2e • freshrss/freshrss latest: sha256:2edf78120d06de267864a9d4affbd8158f23e668cf569e273f7f6e755c73b0a5 → sha256:baedf173d60b63c72f93fdb8480ee002d4622cd34103aac6510f45fdff41effe • ghcr.io/linuxserver/bazarr latest: sha256:71f545e4a6cfda02798fd531bfc27b14cbf7345bb28fe503467fb1ab13c3bfbc → sha256:68efaf4f9a6ea072b68e1a8a2925fdc00f931fb1c699d969cae9c16f394b1411 • ghcr.io/linuxserver/prowlarr latest: sha256:bddc64a17aa38972f4c032f67efc3bf0a498883257e615a2d807ca44550cebf0 → sha256:8d3da3256868cf40f06cdca2074dee07a190ec42a6df022fb9fe6f73842ba293 • ghcr.io/linuxserver/radarr latest: sha256:df843d96b812d858b94377ffed1918424ece6735038a19e8ff93730277757b65 → sha256:1a50d4f08e283aa9ff4c723b940dceb4e8aeff7946e1993213efd0de3d5a4adb • ghcr.io/linuxserver/sabnzbd latest: sha256:374a89d565afda9e90ffb01b1ed032390cf701f24e9c035a842440194fdca1a0 → sha256:51df466fb66b6a18d89597a3608bb2ab69ff8aff3131b5bec80e4ed7534b2b9f Firefox Addons: bitwarden: 2024.9.0 -> 2024.9.1 Misc Sources: Vuetorrent: 2.13.0 -> 2.13.1
80 lines
1.5 KiB
Nix
80 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
gpu-screen-recorder-src,
|
|
addOpenGLRunpath,
|
|
dbus,
|
|
ffmpeg,
|
|
libdrm,
|
|
libglvnd,
|
|
libpulseaudio,
|
|
libva,
|
|
makeWrapper,
|
|
meson,
|
|
ninja,
|
|
pipewire,
|
|
pkg-config,
|
|
stdenv,
|
|
vulkan-headers,
|
|
wayland,
|
|
xorg,
|
|
...
|
|
}: let
|
|
inherit (lib) makeLibraryPath;
|
|
inherit (builtins) fromTOML readFile;
|
|
|
|
tag =
|
|
(fromTOML (readFile "${gpu-screen-recorder-src}/project.conf"))
|
|
.package
|
|
.version;
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "gpu-screen-recorder";
|
|
version = "${tag}+${gpu-screen-recorder-src.shortRev}";
|
|
|
|
src = gpu-screen-recorder-src;
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
makeWrapper
|
|
meson
|
|
ninja
|
|
];
|
|
|
|
buildInputs = [
|
|
dbus
|
|
libpulseaudio
|
|
pipewire
|
|
ffmpeg
|
|
wayland
|
|
libdrm
|
|
libva
|
|
vulkan-headers
|
|
xorg.libXcomposite
|
|
xorg.libXdamage
|
|
xorg.libXi
|
|
xorg.libXrandr
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Dcapabilities=false"
|
|
"-Dnvidia_suspend_fix=false"
|
|
"-Dsystemd=false"
|
|
];
|
|
|
|
fixupPhase = ''
|
|
wrapProgram $out/bin/gpu-screen-recorder \
|
|
--prefix LD_LIBRARY_PATH : "${
|
|
makeLibraryPath [
|
|
addOpenGLRunpath.driverLink
|
|
libglvnd
|
|
]
|
|
}"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Screen recorder that has minimal impact on system performance by recording a window using the GPU only";
|
|
homepage = "https://git.dec05eba.com/gpu-screen-recorder/about/";
|
|
license = lib.licenses.gpl3Only;
|
|
platforms = ["x86_64-linux"];
|
|
};
|
|
}
|