Files
nixpkgs/pkgs/by-name/wa/wayfarer/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
blueprint-compiler,
desktop-file-utils,
gst_all_1,
gtk4,
libpulseaudio,
meson,
ninja,
pipewire,
pkg-config,
vala,
wrapGAppsHook4,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wayfarer";
version = "1.2.4-unstable-2025-04-12";
src = fetchFromGitHub {
owner = "stronnag";
repo = "wayfarer";
# branch development - has new gtk4 code
rev = "2517004bb3c48653100f0c6a6da16fde7927755e";
hash = "sha256-ULmkjyBuqVwsFbLOdvqxvsAH1EF7zXFEBhU//nsV5sU=";
};
postPatch = ''
patchShebangs src/getinfo.sh
# OS release information is not available in the sandbox
substituteInPlace meson/baseinfo.py \
--replace-warn 'platform.freedesktop_os_release()["NAME"]' '"NixOS"'
'';
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
meson
ninja
pkg-config
vala
wrapGAppsHook4
];
buildInputs = [
gst_all_1.gstreamer
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-ugly
gtk4
libpulseaudio
pipewire
];
meta = with lib; {
description = "Screen recorder for GNOME / Wayland / pipewire";
homepage = "https://github.com/stronnag/wayfarer";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fgaz ];
mainProgram = "wayfarer";
platforms = subtractLists platforms.darwin platforms.unix;
};
})