15 stdenv.mkDerivation (finalAttrs: {
19 src = fetchFromGitHub {
22 rev = "v${finalAttrs.version}";
23 hash = "sha256-7NI5az3LxOYEnsts8Qqi3gvO3dXpNjPDOTW2c5Y25Lc=";
38 if lib.isDerivation conf || builtins.isPath conf
39 then conf else writeText "config.h" conf;
41 lib.optionalString (conf != null) "mv ${configFile} config.h";
49 description = "Pie-menu tool";
50 homepage = "https://github.com/phillbush/pmenu";
51 changelog = "https://github.com/phillbush/pmenu/releases/tag/v${finalAttrs.version}";
52 license = lib.licenses.mit;
54 πmenu is a pie menu utility for X. πmenu receives a menu specification in
55 stdin, shows a menu for the user to select one of the options, and outputs
56 the option selected to stdout.
58 maintainers = [ lib.maintainers.azahi ];
59 platforms = lib.platforms.unix;
60 mainProgram = "pmenu";