fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 appstream-glib,
6 cargo,
7 desktop-file-utils,
8 glib,
9 gst_all_1,
10 pipewire,
11 gtk4,
12 libadwaita,
13 libpulseaudio,
14 librsvg,
15 meson,
16 ninja,
17 pkg-config,
18 rustPlatform,
19 rustc,
20 wayland,
21 wrapGAppsHook4,
22}:
23
24stdenv.mkDerivation rec {
25 pname = "kooha";
26 version = "2.3.0";
27
28 src = fetchFromGitHub {
29 owner = "SeaDve";
30 repo = "Kooha";
31 rev = "v${version}";
32 hash = "sha256-Z+PMSV6fipfHBrqGS24SOgGJS173Vct12sVzCGZL0IA=";
33 };
34
35 cargoDeps = rustPlatform.fetchCargoVendor {
36 inherit pname version src;
37 hash = "sha256-3LYoNQquYbyiEd9ZXRr4UPIcl3gultsBYWCWaCYshwQ=";
38 };
39
40 nativeBuildInputs = [
41 appstream-glib
42 desktop-file-utils
43 meson
44 ninja
45 pkg-config
46 rustPlatform.cargoSetupHook
47 cargo
48 rustc
49 wrapGAppsHook4
50 ];
51
52 buildInputs = [
53 glib
54 gst_all_1.gstreamer
55 gst_all_1.gst-plugins-good
56 gst_all_1.gst-plugins-base
57 gst_all_1.gst-plugins-ugly
58 gtk4
59 libadwaita
60 libpulseaudio
61 librsvg
62 wayland
63 pipewire
64 ];
65
66 installCheckPhase = ''
67 $out/bin/kooha --help
68 '';
69
70 meta = {
71 description = "Elegantly record your screen";
72 homepage = "https://github.com/SeaDve/Kooha";
73 license = lib.licenses.gpl3Only;
74 platforms = lib.platforms.linux;
75 maintainers = with lib.maintainers; [ austinbutler ];
76 mainProgram = "kooha";
77 };
78}