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-12-18 16:13:12 +00:00
|
|
|
url = "http://dl.suckless.org/st/${name}.tar.gz";
|
|
|
|
sha256 = "0d0fjixiis4ixbz4l18rqhnssa7cy2bap3jkjyphqlqhl7lahv3d";
|
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;
|
|
|
|
};
|
|
|
|
}
|