13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
21 sha256 = "sha256-pOayKngUlrMY3bFsP4Fi+VsOLKCUQU3tdkZ+0OY1SCo=";
34 if lib.isDerivation conf || builtins.isPath conf
35 then conf else writeText "config.h" conf;
37 lib.optionalString (conf != null) "cp ${configFile} config.h";
39 makeFlags = [ "CC:=$(CC)" "PREFIX=$(out)" ];
41 passthru.updateScript = nix-update-script { };
44 description = "Dmenu rip-off with contextual completion";
46 XPrompt is a prompt for X. XPrompt features a text input field where the
47 user can type in a text subject to tab-completion.
49 homepage = "https://github.com/phillbush/xprompt";
50 license = licenses.mit;
51 maintainers = with maintainers; [ azahi ];
52 platforms = platforms.unix;
53 mainProgram = "xprompt";