2015-05-16 03:00:54 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, libtoxcore, qt5, openal, opencv
|
2015-01-31 02:20:12 +00:00
|
|
|
, libsodium, libXScrnSaver }:
|
2014-09-18 08:51:43 +01:00
|
|
|
|
2015-01-31 02:20:12 +00:00
|
|
|
let
|
2014-09-18 08:51:43 +01:00
|
|
|
|
2015-01-31 02:20:12 +00:00
|
|
|
filteraudio = stdenv.mkDerivation rec {
|
|
|
|
name = "filter_audio-20150128";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "irungentoo";
|
|
|
|
repo = "filter_audio";
|
|
|
|
rev = "76428a6cda";
|
|
|
|
sha256 = "0c4wp9a7dzbj9ykfkbsxrkkyy0nz7vyr5map3z7q8bmv9pjylbk9";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
};
|
|
|
|
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "qtox-dev-20150130";
|
2014-09-18 08:51:43 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tux3";
|
|
|
|
repo = "qTox";
|
2015-01-31 02:20:12 +00:00
|
|
|
rev = "7574569b3d";
|
|
|
|
sha256 = "0a7zkhl4w2r5ifzs7vwws2lpplp6q5c4jllyf4ld64njgiz6jzip";
|
2014-09-18 08:51:43 +01:00
|
|
|
};
|
|
|
|
|
2015-03-24 15:31:27 +00:00
|
|
|
buildInputs =
|
|
|
|
[
|
2015-05-16 03:00:54 +01:00
|
|
|
libtoxcore openal opencv libsodium filteraudio
|
2015-03-24 15:31:27 +00:00
|
|
|
qt5.base qt5.tools libXScrnSaver
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-09-18 08:51:43 +01:00
|
|
|
|
|
|
|
configurePhase = "qmake";
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-12-04 10:26:00 +00:00
|
|
|
mkdir -p $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
|
|
|
};
|
|
|
|
}
|