1{
2 lib,
3 stdenv,
4 pkg-config,
5 gtk3,
6 glib,
7 keybinder3,
8 fetchFromGitea,
9}:
10
11stdenv.mkDerivation {
12 pname = "fehlstart";
13 version = "0.5-unstable-2025-01-12";
14
15 src = fetchFromGitea {
16 domain = "codeberg.org";
17 owner = "chuvok";
18 repo = "fehlstart";
19 rev = "cf08d6c3964da9abc8d1af0725894fef62352064";
20 hash = "sha256-qq0IhLzSvYnooPb4w+lno8P/tbedrDKTk27HGtQlp2I=";
21 };
22
23 patches = [ ./use-nix-profiles.patch ];
24
25 strictDeps = true;
26
27 nativeBuildInputs = [ pkg-config ];
28
29 buildInputs = [
30 gtk3
31 keybinder3
32 ];
33
34 env.NIX_CFLAGS_COMPILE = "-I${lib.getDev glib}/include/gio-unix-2.0";
35
36 makeFlags = [ "PREFIX=$(out)" ];
37
38 meta = {
39 description = "Small desktop application launcher with reasonable memory footprint";
40 homepage = "https://codeberg.org/Chuvok/fehlstart";
41 license = lib.licenses.gpl3Only;
42 maintainers = [ lib.maintainers.mounium ];
43 platforms = lib.platforms.linux;
44 mainProgram = "fehlstart";
45 };
46}