2016-08-29 14:37:38 +01:00
|
|
|
{ stdenv, fetchFromGitHub, qtbase, qtdeclarative, qmakeHook, which
|
2016-01-10 11:01:05 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libcommuni-${version}";
|
2016-08-29 14:37:38 +01:00
|
|
|
version = "2016-08-17";
|
2016-01-10 11:01:05 +00:00
|
|
|
|
2016-08-29 14:37:38 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "communi";
|
|
|
|
repo = "libcommuni";
|
|
|
|
rev = "dedba6faf57c31c8c70fd563ba12d75a9caee8a3";
|
|
|
|
sha256 = "0wvs53z34vfs5xlln4a6sbd4981svag89xm0f4k20mb1i052b20i";
|
2016-01-10 11:01:05 +00:00
|
|
|
};
|
|
|
|
|
2016-08-29 14:37:38 +01:00
|
|
|
buildInputs = [ qtbase qtdeclarative ];
|
2016-06-30 02:29:59 +01:00
|
|
|
nativeBuildInputs = [ qmakeHook which ];
|
2016-01-10 11:01:05 +00:00
|
|
|
|
2016-09-01 09:46:11 +01:00
|
|
|
enableParallelBuilding = true;
|
2016-01-10 11:01:05 +00:00
|
|
|
|
2016-06-30 02:29:59 +01:00
|
|
|
dontUseQmakeConfigure = true;
|
|
|
|
configureFlags = "-config release";
|
|
|
|
preConfigure = ''
|
2016-04-16 20:59:20 +01:00
|
|
|
sed -i -e 's|/bin/pwd|pwd|g' configure
|
2016-01-10 11:01:05 +00:00
|
|
|
'';
|
|
|
|
|
2016-06-30 08:46:11 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2016-01-10 11:01:05 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A cross-platform IRC framework written with Qt";
|
|
|
|
homepage = https://communi.github.io;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ hrdinka ];
|
|
|
|
};
|
|
|
|
}
|