2021-01-17 03:09:27 +01:00
|
|
|
{ lib, stdenv, fetchurl, glib, gtk2, pkg-config, popt }:
|
2012-10-16 17:31:06 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "0.9.2";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "gmrun";
|
|
|
|
inherit version;
|
2012-10-16 17:31:06 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-13 23:52:01 +02:00
|
|
|
url = "mirror://sourceforge/gmrun/${pname}-${version}.tar.gz";
|
2013-07-14 02:09:34 +02:00
|
|
|
sha256 = "180z6hbax1qypy5cyy2z6nn7fzxla4ib47ck8mqwr714ag77na8p";
|
2012-10-16 17:31:06 +02:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = [ glib gtk2 popt ];
|
2012-10-16 17:31:06 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./gcc43.patch
|
2019-05-02 13:29:07 +02:00
|
|
|
./find-config-file-in-system-etc-dir.patch
|
2012-10-16 17:31:06 +02:00
|
|
|
./gmrun-0.9.2-xdg.patch
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Gnome Completion-Run Utility";
|
2012-10-16 17:31:06 +02:00
|
|
|
longDescription = ''
|
|
|
|
A simple program which provides a "run program" window, featuring a bash-like TAB completion.
|
2019-09-04 00:49:40 +02:00
|
|
|
It uses GTK interface.
|
2012-10-16 17:31:06 +02:00
|
|
|
Also, supports CTRL-R / CTRL-S / "!" for searching through history.
|
|
|
|
Running commands in a terminal with CTRL-Enter. URL handlers.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://sourceforge.net/projects/gmrun/";
|
2020-06-26 10:51:01 +02:00
|
|
|
license = licenses.gpl2;
|
2017-03-23 03:02:09 +01:00
|
|
|
maintainers = [];
|
2020-06-26 10:51:01 +02:00
|
|
|
platforms = platforms.all;
|
2012-10-16 17:31:06 +02:00
|
|
|
};
|
|
|
|
}
|