summary refs log tree commit diff
path: root/pkgs/applications/misc/fehlstart/default.nix
blob: db78f2ec92043c3df91f1a927fb7b1ecf87d9231 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, pkgconfig, gtk2, keybinder, fetchFromGitLab }:

stdenv.mkDerivation {
  name = "fehlstart-9f4342d7";

  src = fetchFromGitLab {
    owner = "fehlstart";
    repo = "fehlstart";
    rev = "9f4342d75ec5e2a46c13c99c34894bc275798441";
    sha256 = "1rfzh7w6n2s9waprv7m1bhvqrk36a77ada7w655pqiwkhdj5q95i";
  };

  patches = [ ./use-nix-profiles.patch ];
  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ gtk2 keybinder ];

  preConfigure = ''
    export PREFIX=$out
  '';

  meta = with stdenv.lib; {
    description = "Small desktop application launcher with reasonable memory footprint";
    homepage = https://gitlab.com/fehlstart/fehlstart;
    license = licenses.gpl3;
    maintainers = [ maintainers.mounium ];
    platforms = platforms.all;
  };
}