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