2014-12-04 01:29:56 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, libtoxcore, qt5, openalSoft, opencv
|
|
|
|
, libsodium }:
|
2014-09-18 08:51:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-04 01:29:56 +00:00
|
|
|
name = "qtox-dev-20141201";
|
2014-09-18 08:51:43 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tux3";
|
|
|
|
repo = "qTox";
|
2014-12-04 01:29:56 +00:00
|
|
|
rev = "qtox-windows-1417469442.11";
|
|
|
|
sha256 = "02nxj0w5qbgc79n8mgyqldk1yadf4p8pysn79f7fvi8fxq4j0j5n";
|
2014-09-18 08:51:43 +01:00
|
|
|
};
|
|
|
|
|
2014-12-04 01:29:56 +00:00
|
|
|
buildInputs = [ pkgconfig libtoxcore qt5 openalSoft opencv libsodium ];
|
2014-09-18 08:51:43 +01:00
|
|
|
|
|
|
|
configurePhase = "qmake";
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-12-04 01:29:56 +00:00
|
|
|
mkdir $out/bin
|
2014-09-18 08:51:43 +01:00
|
|
|
cp qtox $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "QT Tox client";
|
|
|
|
license = licenses.gpl3;
|
2014-12-04 01:29:56 +00:00
|
|
|
maintainers = with maintainers; [ viric jgeerds ];
|
|
|
|
platforms = platforms.all;
|
2014-09-18 08:51:43 +01:00
|
|
|
};
|
|
|
|
}
|