blob: d28f36b0a1b2ed0ec0b3fc14324fac4a7a12bc51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ stdenv, fetchurl, pkgconfig, writeText, libX11, ncurses, libXft }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "st";
src = fetchgit {
url = "https://github.com/LukeSmithXYZ/st";
rev = "de6fd85eeb544548ed5ad23a639eedd6af510036";
sha256 = "1xyrbi857435dln7i6qb9ys2jizv43a2zq6fx4dr8z52ramxzyky";
};
nativeBuildInputs = [ pkgconfig ncurses ];
buildInputs = [ libX11 libXft ];
installPhase = ''
TERMINFO=$out/share/terminfo make install PREFIX=$out
'';
meta = {
homepage = "https://st.suckless.org/";
description = "Simple Terminal for X from Suckless.org Community";
license = licenses.mit;
maintainers = with maintainers; [ pniedzwiedzinski ];
platforms = platforms.linux;
};
}
|