forked from mirrors/nixpkgs
30 lines
759 B
Nix
30 lines
759 B
Nix
{ stdenv, fetchurl, pkgconfig, libX11, ncurses, libXext, libXft, fontconfig }:
|
|
|
|
with stdenv.lib;
|
|
|
|
let
|
|
version = "0.7.1";
|
|
name = "xst-${version}";
|
|
in stdenv.mkDerivation {
|
|
inherit name;
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/neeasade/xst/archive/v${version}.tar.gz";
|
|
sha256 = "19ayx1753f2s6k7f6yn256bsssm20ggffs1diakgjqwcyjcxxn7q";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig libX11 ncurses libXext libXft fontconfig ];
|
|
|
|
installPhase = ''
|
|
TERMINFO=$out/share/terminfo make install PREFIX=$out
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/neeasade/xst";
|
|
description = "Simple terminal fork that can load config from Xresources";
|
|
license = licenses.mit;
|
|
maintainers = maintainers.vyp;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|