Files
nixpkgs/pkgs/by-name/ko/kooha/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

79 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
appstream-glib,
cargo,
desktop-file-utils,
glib,
gst_all_1,
pipewire,
gtk4,
libadwaita,
libpulseaudio,
librsvg,
meson,
ninja,
pkg-config,
rustPlatform,
rustc,
wayland,
wrapGAppsHook4,
}:
stdenv.mkDerivation rec {
pname = "kooha";
version = "2.3.0";
src = fetchFromGitHub {
owner = "SeaDve";
repo = "Kooha";
rev = "v${version}";
hash = "sha256-Z+PMSV6fipfHBrqGS24SOgGJS173Vct12sVzCGZL0IA=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
hash = "sha256-3LYoNQquYbyiEd9ZXRr4UPIcl3gultsBYWCWaCYshwQ=";
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
cargo
rustc
wrapGAppsHook4
];
buildInputs = [
glib
gst_all_1.gstreamer
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-ugly
gtk4
libadwaita
libpulseaudio
librsvg
wayland
pipewire
];
installCheckPhase = ''
$out/bin/kooha --help
'';
meta = with lib; {
description = "Elegantly record your screen";
homepage = "https://github.com/SeaDve/Kooha";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ austinbutler ];
mainProgram = "kooha";
};
}