summary refs log blame commit diff
path: root/pkgs/desktops/enlightenment/terminology.nix
blob: 71d92f6f3cbdfa03408b343d7ff106c3409d038e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                              
 

                                  
                    
 
                  
                                                                                  
                                                                    
    
 
                                                                               
 
                                  
 





                                                               


                                                                    

                                           
                                                                             

    
{ stdenv, fetchurl, pkgconfig, efl, pcre, curl, makeWrapper }:

stdenv.mkDerivation rec {
  name = "terminology-${version}";
  version = "1.1.0";

  src = fetchurl {
    url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.xz";
    sha256 = "13rl1k22yf8qrpzdm5nh6ij641fibadr2ww1r7rnz7mbhzj3d4gb";
  };

  nativeBuildInputs = [ (pkgconfig.override { vanilla = true; }) makeWrapper ];

  buildInputs = [ efl pcre curl ];

  postInstall = ''
    for f in $out/bin/*; do
      wrapProgram $f --prefix LD_LIBRARY_PATH : ${curl.out}/lib
    done
  '';

  meta = {
    description = "The best terminal emulator written with the EFL";
    homepage = http://enlightenment.org/;
    platforms = stdenv.lib.platforms.linux;
    license = stdenv.lib.licenses.bsd2;
    maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
  };
}