nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 42 lines 1.1 kB view raw
1{ lib, stdenv, fetchurl, glib, gtk2, pkg-config, popt }: 2 3let 4 version = "0.9.2"; 5in 6 7stdenv.mkDerivation rec { 8 pname = "gmrun"; 9 inherit version; 10 11 src = fetchurl { 12 url = "mirror://sourceforge/gmrun/${pname}-${version}.tar.gz"; 13 sha256 = "180z6hbax1qypy5cyy2z6nn7fzxla4ib47ck8mqwr714ag77na8p"; 14 }; 15 16 nativeBuildInputs = [ pkg-config ]; 17 buildInputs = [ glib gtk2 popt ]; 18 19 doCheck = true; 20 21 enableParallelBuilding = true; 22 23 patches = [ 24 ./gcc43.patch 25 ./find-config-file-in-system-etc-dir.patch 26 ./gmrun-0.9.2-xdg.patch 27 ]; 28 29 meta = with lib; { 30 description = "Gnome Completion-Run Utility"; 31 longDescription = '' 32 A simple program which provides a "run program" window, featuring a bash-like TAB completion. 33 It uses GTK interface. 34 Also, supports CTRL-R / CTRL-S / "!" for searching through history. 35 Running commands in a terminal with CTRL-Enter. URL handlers. 36 ''; 37 homepage = "https://sourceforge.net/projects/gmrun/"; 38 license = licenses.gpl2; 39 maintainers = []; 40 platforms = platforms.all; 41 }; 42}