1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/applications/misc/st/default.nix
2012-12-18 11:13:12 -05:00

24 lines
581 B
Nix

{ stdenv, fetchurl, libX11, ncurses, libXext, libXft }:
stdenv.mkDerivation rec {
name = "st-0.3";
src = fetchurl {
url = "http://dl.suckless.org/st/${name}.tar.gz";
sha256 = "0d0fjixiis4ixbz4l18rqhnssa7cy2bap3jkjyphqlqhl7lahv3d";
};
buildInputs = [ libX11 ncurses libXext libXft ];
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;
};
}