2012-03-14 20:35:55 +01:00
|
|
|
{stdenv, fetchurl, qt, libupnp, gpgme, libgnome_keyring, glib}:
|
2011-06-26 19:57:28 +02:00
|
|
|
|
|
|
|
throw "still fails to build"
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "retroshare-0.5.1d";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/retroshare/RetroShare-v0.5.1d.tar.gz;
|
|
|
|
sha256 = "15971wxx8djwcxn170jyn0mlh7cfzqsf031aa849wr9z234gwrcn";
|
|
|
|
};
|
|
|
|
|
2012-03-14 20:35:55 +01:00
|
|
|
buildInputs = [ qt libupnp gpgme libgnome_keyring glib ];
|
2011-06-26 19:57:28 +02:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
cd libbitdht/src
|
|
|
|
qmake libbitdht.pro PREFIX=$out
|
|
|
|
make
|
|
|
|
cd ../..
|
|
|
|
cd libretroshare/src
|
|
|
|
qmake libretroshare.pro PREFIX=$out
|
|
|
|
make
|
|
|
|
cd ../../src
|
|
|
|
qmake libretroshare.pro PREFIX=$out
|
|
|
|
make
|
|
|
|
'';
|
|
|
|
|
|
|
|
}
|