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