42f52792bc
Closes #16612.
35 lines
855 B
Nix
35 lines
855 B
Nix
{ fetchgit, qtbase, qmakeHook, which, stdenv
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libcommuni-${version}";
|
|
version = "2016-01-02";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/communi/libcommuni.git";
|
|
rev = "779b0c774428669235d44d2db8e762558e2f4b79";
|
|
sha256 = "1zqdl5why66rg3pksxmxsmrwxs4042fq9jhc394qvk0s36aryqsj";
|
|
};
|
|
|
|
buildInputs = [ qtbase ];
|
|
nativeBuildInputs = [ qmakeHook which ];
|
|
|
|
enableParallelBuild = true;
|
|
|
|
dontUseQmakeConfigure = true;
|
|
configureFlags = "-config release";
|
|
preConfigure = ''
|
|
sed -i -e 's|/bin/pwd|pwd|g' configure
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|