mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
860eea0337
gmrun has been rewritten while maintaining compatibility with previous version. The original author acknowledged this fork and grant permission to modify the license, see https://github.com/wdlkmpx/gmrun/issues/2
49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
wrapGAppsHook3,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "gmrun";
|
|
version = "1.4w";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wdlkmpx";
|
|
repo = "gmrun";
|
|
rev = "refs/tags/${finalAttrs.version}";
|
|
hash = "sha256-sp+Atod9ZKVF8sxNWIMrlewqZAGnoLo2mZUNkCtSkec=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
# Problem with component size on wayland
|
|
preFixup = ''
|
|
gappsWrapperArgs+=(--set-default GDK_BACKEND x11)
|
|
'';
|
|
|
|
meta = {
|
|
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://github.com/wdlkmpx/gmrun";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ aleksana ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "gmrun";
|
|
};
|
|
})
|