lol
0
fork

Configure Feed

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

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