default.nix (646B)
1 { lib, stdenv, fetchFromGitHub, libX11, libXft, libXinerama }: 2 3 stdenv.mkDerivation rec { 4 pname = "xprompt"; 5 version = "2.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "phillbush"; 9 repo = "xprompt"; 10 rev = "v${version}"; 11 hash = "sha256-pOayKngUlrMY3bFsP4Fi+VsOLKCUQU3tdkZ+0OY1SCo="; 12 }; 13 14 buildInputs = [ libX11 libXft libXinerama ]; 15 16 makeFlags = [ "PREFIX=$(out)" ]; 17 18 meta = with lib; { 19 description = "A dmenu rip-off with contextual completion"; 20 inherit (src.meta) homepage; 21 license = licenses.mit; 22 maintainers = [ maintainers.sikmir ]; 23 platforms = platforms.linux; 24 skip.ci = stdenv.isDarwin; 25 }; 26 }