nixpkgs/pkgs/applications/misc/st/default.nix

24 lines
581 B
Nix
Raw Normal View History

2012-11-21 10:11:53 +01:00
{ stdenv, fetchurl, libX11, ncurses, libXext, libXft }:
2012-08-05 12:44:01 +02:00
stdenv.mkDerivation rec {
2012-11-21 10:11:53 +01:00
name = "st-0.3";
2012-08-05 12:44:01 +02:00
src = fetchurl {
2012-12-18 17:13:12 +01:00
url = "http://dl.suckless.org/st/${name}.tar.gz";
sha256 = "0d0fjixiis4ixbz4l18rqhnssa7cy2bap3jkjyphqlqhl7lahv3d";
2012-08-05 12:44:01 +02:00
};
2012-11-21 10:11:53 +01:00
buildInputs = [ libX11 ncurses libXext libXft ];
2012-08-05 12:44:01 +02: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;
};
}