lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 16.09-beta 33 lines 875 B view raw
1{ stdenv, fetchurl, pkgconfig, writeText, libX11, ncurses, libXext, libXft, fontconfig 2, conf ? null, patches ? []}: 3 4with stdenv.lib; 5 6stdenv.mkDerivation rec { 7 name = "st-0.6"; 8 9 src = fetchurl { 10 url = "http://dl.suckless.org/st/${name}.tar.gz"; 11 sha256 = "0avsfc1qp8zvshsfjwwrkvk411jlqy58z225bsdhjkl1qc40qcc5"; 12 }; 13 14 inherit patches; 15 16 configFile = optionalString (conf!=null) (writeText "config.def.h" conf); 17 preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h"; 18 19 buildInputs = [ pkgconfig libX11 ncurses libXext libXft fontconfig ]; 20 21 NIX_LDFLAGS = "-lfontconfig"; 22 23 installPhase = '' 24 TERMINFO=$out/share/terminfo make install PREFIX=$out 25 ''; 26 27 meta = { 28 homepage = http://st.suckless.org/; 29 license = stdenv.lib.licenses.mit; 30 maintainers = with maintainers; [viric]; 31 platforms = platforms.linux; 32 }; 33}