aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/misc/gmrun/default.nix
blob: 8ca4c6061629bb4102da5c167b29177945fbc386 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ stdenv, fetchurl, glib, gtk2, pkgconfig, popt }:

let
  version = "0.9.2";
in

stdenv.mkDerivation rec {
  pname = "gmrun";
  inherit version;

  src = fetchurl {
    url = "mirror://sourceforge/gmrun/${pname}-${version}.tar.gz";
    sha256 = "180z6hbax1qypy5cyy2z6nn7fzxla4ib47ck8mqwr714ag77na8p";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ glib gtk2 popt ];

  doCheck = true;

  enableParallelBuilding = true;

  patches = [
      ./gcc43.patch
      ./find-config-file-in-system-etc-dir.patch
      ./gmrun-0.9.2-xdg.patch
    ];

  meta = with stdenv.lib; {
    description = "Gnome Completion-Run Utility";
    longDescription = ''
      A simple program which provides a "run program" window, featuring a bash-like TAB completion.
      It uses GTK interface.
      Also, supports CTRL-R / CTRL-S / "!" for searching through history.
      Running commands in a terminal with CTRL-Enter. URL handlers.
    '';
    homepage = "https://sourceforge.net/projects/gmrun/";
    license = licenses.gpl2;
    maintainers = [];
    platforms = platforms.all;
  };
}