2016-06-30 03:29:59 +02:00
|
|
|
{ fetchgit, qtbase, qmakeHook, which, stdenv
|
2016-01-10 12:01:05 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libcommuni-${version}";
|
2016-06-30 09:58:01 +02:00
|
|
|
version = "2016-03-23";
|
2016-01-10 12:01:05 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/communi/libcommuni.git";
|
2016-06-30 09:58:01 +02:00
|
|
|
rev = "6a5110b25e2838e7dc2c62d16b9fd06d12beee7e";
|
|
|
|
sha256 = "184ah5xqg5pgy8h6fyyz2k0vak1fmhrcidwz828yl4lsvz1vjqh1";
|
2016-01-10 12:01:05 +01:00
|
|
|
};
|
|
|
|
|
2016-04-16 21:59:20 +02:00
|
|
|
buildInputs = [ qtbase ];
|
2016-06-30 03:29:59 +02:00
|
|
|
nativeBuildInputs = [ qmakeHook which ];
|
2016-01-10 12:01:05 +01:00
|
|
|
|
|
|
|
enableParallelBuild = true;
|
|
|
|
|
2016-06-30 03:29:59 +02:00
|
|
|
dontUseQmakeConfigure = true;
|
|
|
|
configureFlags = "-config release";
|
|
|
|
preConfigure = ''
|
2016-04-16 21:59:20 +02:00
|
|
|
sed -i -e 's|/bin/pwd|pwd|g' configure
|
2016-01-10 12:01:05 +01:00
|
|
|
'';
|
|
|
|
|
2016-06-30 09:46:11 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2016-01-10 12:01:05 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|