3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/st/default.nix

24 lines
583 B
Nix
Raw Normal View History

2012-11-21 09:11:53 +00:00
{ stdenv, fetchurl, libX11, ncurses, libXext, libXft }:
2012-08-05 11:44:01 +01:00
stdenv.mkDerivation rec {
2012-11-21 09:11:53 +00:00
name = "st-0.3";
2012-08-05 11:44:01 +01: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 11:44:01 +01:00
};
2012-11-21 09:11:53 +00:00
buildInputs = [ libX11 ncurses libXext libXft ];
2012-08-05 11:44:01 +01: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;
};
}