nixpkgs/pkgs/applications/terminal-emulators/st/xst.nix

29 lines
763 B
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, libX11, ncurses, libXext, libXft, fontconfig }:
2017-07-11 16:53:43 +00:00
2021-02-06 09:48:12 +00:00
stdenv.mkDerivation rec {
pname = "xst";
version = "0.8.4.1";
2017-07-11 16:53:43 +00:00
2017-07-12 20:29:15 +00:00
src = fetchFromGitHub {
owner = "gnotclub";
2021-02-06 09:48:12 +00:00
repo = pname;
2017-07-12 20:29:15 +00:00
rev = "v${version}";
2021-02-06 09:48:12 +00:00
sha256 = "nOJcOghtzFkl7B/4XeXptn2TdrGQ4QTKBo+t+9npxOA=";
2017-07-11 16:53:43 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libX11 ncurses libXext libXft fontconfig ];
2017-07-11 16:53:43 +00:00
installPhase = ''
TERMINFO=$out/share/terminfo make install PREFIX=$out
'';
2021-02-06 09:48:12 +00:00
meta = with lib; {
homepage = "https://github.com/gnotclub/xst";
2017-07-11 16:53:43 +00:00
description = "Simple terminal fork that can load config from Xresources";
license = licenses.mit;
maintainers = [ maintainers.vyp ];
2017-07-11 16:53:43 +00:00
platforms = platforms.linux;
};
}