2016-04-16 21:59:20 +02:00
|
|
|
{ fetchgit, qtbase, qmakeHook, stdenv
|
2016-01-10 12:01:05 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libcommuni-${version}";
|
|
|
|
version = "2016-01-02";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/communi/libcommuni.git";
|
|
|
|
rev = "779b0c774428669235d44d2db8e762558e2f4b79";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "1zqdl5why66rg3pksxmxsmrwxs4042fq9jhc394qvk0s36aryqsj";
|
2016-01-10 12:01:05 +01:00
|
|
|
};
|
|
|
|
|
2016-04-16 21:59:20 +02:00
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
nativeBuildInputs = [ qmakeHook ];
|
2016-01-10 12:01:05 +01:00
|
|
|
|
|
|
|
enableParallelBuild = true;
|
|
|
|
|
2016-04-16 21:59:20 +02:00
|
|
|
configurePhase = ''
|
|
|
|
sed -i -e 's|/bin/pwd|pwd|g' configure
|
|
|
|
./configure -config release -prefix $out -qmake $QMAKE
|
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 ];
|
|
|
|
};
|
|
|
|
}
|