From 341202cd83d7850b3549bda5cfc465bb0bbab378 Mon Sep 17 00:00:00 2001 From: Anton Mosich Date: Fri, 1 Sep 2023 12:48:19 +0200 Subject: [PATCH] bemenu: 0.6.15 -> 0.6.16 https://github.com/Cloudef/bemenu/releases/tag/0.6.16 Also adds mainProgram attribute and changes from rec to finalAttrs to allow proper overriding --- pkgs/applications/misc/bemenu/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/misc/bemenu/default.nix b/pkgs/applications/misc/bemenu/default.nix index d9fe7a52bbf0..57d87d906e82 100644 --- a/pkgs/applications/misc/bemenu/default.nix +++ b/pkgs/applications/misc/bemenu/default.nix @@ -5,15 +5,15 @@ , x11Support ? true, xorg }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "bemenu"; - version = "0.6.15"; + version = "0.6.16"; src = fetchFromGitHub { owner = "Cloudef"; - repo = pname; - rev = version; - sha256 = "sha256-gdeNaqtxqxBtG9bkxozPE/DLQgLqCt1vh2A2WmgNn7w="; + repo = finalAttrs.pname; + rev = finalAttrs.version; + sha256 = "sha256-K9a9BUodpKwvEOhnF2/TGo5zLm7F9RzqSCcWzuhKcWA="; }; strictDeps = true; @@ -45,6 +45,7 @@ stdenv.mkDerivation rec { description = "Dynamic menu library and client program inspired by dmenu"; license = licenses.gpl3Plus; maintainers = with maintainers; [ lheckemann ]; + mainProgram = "bemenu"; platforms = with platforms; linux; }; -} +})