nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 7ba445a62d89e2c614847a5220f291b1d179da86
parent ea47e7b643b0da73f423771b38a450a42bf59c18
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Mon,  1 Feb 2021 02:12:23 +0300

Add xprompt

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/suckless/xprompt/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -277,5 +277,6 @@ lib.makeScope newScope ( scroll = callPackage ./suckless/scroll { }; sfeed = callPackage ./suckless/sfeed { }; stagit = callPackage ./suckless/stagit { }; + xprompt = callPackage ./suckless/xprompt { }; } ) diff --git a/pkgs/suckless/xprompt/default.nix b/pkgs/suckless/xprompt/default.nix @@ -0,0 +1,25 @@ +{ stdenv, lib, fetchFromGitHub, libX11, libXft, libXinerama }: + +stdenv.mkDerivation rec { + pname = "xprompt"; + version = "2.4.0"; + + src = fetchFromGitHub { + owner = "phillbush"; + repo = "xprompt"; + rev = "v${version}"; + sha256 = "00i4zlypsbh43w0xkjlhy768d8s26kcf15rpbf62viffkg8s4z7w"; + }; + + buildInputs = [ libX11 libXft libXinerama ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = with lib; { + description = "A dmenu rip-off with contextual completion"; + homepage = "https://github.com/phillbush/xprompt"; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.linux; + }; +}