summary refs log blame commit diff
path: root/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix
blob: c6801105a84a464a625f30b69b090378083455dc (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                
 
                         
                            
                  
                                                         
                                                                    

    



                                                                
                           
                                           
                                                                         

                                
                                                 
    
 
{ stdenv, fetchurl, libotr, pidgin, intltool } :

stdenv.mkDerivation rec {
  name = "pidgin-otr-4.0.1";
  src = fetchurl {
    url = "http://www.cypherpunks.ca/otr/${name}.tar.gz";
    sha256 = "02pkkf86fh5jvzsdn9y78impsgzj1n0p81kc2girvk3vq941yy0v";
  };

  postInstall = "ln -s \$out/lib/pidgin \$out/share/pidgin-otr";

  buildInputs = [ libotr pidgin intltool ];

  meta = with stdenv.lib; {
    homepage = https://otr.cypherpunks.ca/;
    description = "Plugin for Pidgin 2.x which implements OTR Messaging";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ abbradar ];
  };
}