nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 48 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 wrapGAppsHook3, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "gmrun"; 11 version = "1.4w"; 12 13 src = fetchFromGitHub { 14 owner = "wdlkmpx"; 15 repo = "gmrun"; 16 tag = finalAttrs.version; 17 hash = "sha256-sp+Atod9ZKVF8sxNWIMrlewqZAGnoLo2mZUNkCtSkec="; 18 }; 19 20 nativeBuildInputs = [ 21 pkg-config 22 wrapGAppsHook3 23 ]; 24 25 doCheck = true; 26 27 enableParallelBuilding = true; 28 29 # Problem with component size on wayland 30 preFixup = '' 31 gappsWrapperArgs+=(--set-default GDK_BACKEND x11) 32 ''; 33 34 meta = { 35 description = "Gnome Completion-Run Utility"; 36 longDescription = '' 37 A simple program which provides a "run program" window, featuring a bash-like TAB completion. 38 It uses GTK interface. 39 Also, supports CTRL-R / CTRL-S / "!" for searching through history. 40 Running commands in a terminal with CTRL-Enter. URL handlers. 41 ''; 42 homepage = "https://github.com/wdlkmpx/gmrun"; 43 license = lib.licenses.isc; 44 maintainers = with lib.maintainers; [ aleksana ]; 45 platforms = lib.platforms.linux; 46 mainProgram = "gmrun"; 47 }; 48})