2012-11-21 09:11:53 +00:00
|
|
|
{ stdenv, fetchurl, libX11, ncurses, libXext, libXft }:
|
2012-08-05 10:44:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-11-21 09:11:53 +00:00
|
|
|
name = "st-0.3";
|
2012-08-05 10:44:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-11-21 09:11:53 +00:00
|
|
|
url = http://hg.suckless.org/st/archive/0.3.tar.gz;
|
|
|
|
sha256 = "12ypldjjpsq3nvhszgjsk4wgqkwcvz06qiqw8k5npv3rd1nbx9cl";
|
2012-08-05 10:44:01 +00:00
|
|
|
};
|
|
|
|
|
2012-11-21 09:11:53 +00:00
|
|
|
buildInputs = [ libX11 ncurses libXext libXft ];
|
2012-08-05 10:44:01 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
TERMINFO=$out/share/terminfo make install PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://st.suckless.org/;
|
|
|
|
license = "MIT";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|