1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00
nixpkgs/pkgs/development/libraries/libcommuni/default.nix
2017-06-18 08:41:57 -05:00

39 lines
958 B
Nix

{ stdenv, fetchFromGitHub, qtbase, qtdeclarative, qmake, which
}:
stdenv.mkDerivation rec {
name = "libcommuni-${version}";
version = "2016-08-17";
src = fetchFromGitHub {
owner = "communi";
repo = "libcommuni";
rev = "dedba6faf57c31c8c70fd563ba12d75a9caee8a3";
sha256 = "0wvs53z34vfs5xlln4a6sbd4981svag89xm0f4k20mb1i052b20i";
};
buildInputs = [ qtbase qtdeclarative ];
nativeBuildInputs = [ qmake which ];
enableParallelBuilding = true;
dontUseQmakeConfigure = true;
configureFlags = "-config release";
preConfigure = ''
sed -i -e 's|/bin/pwd|pwd|g' configure
'';
doCheck = true;
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
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 ];
};
}