fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchFromGitHub
2, qtbase, qtdeclarative, qmake, which
3}:
4
5stdenv.mkDerivation rec {
6 name = "libcommuni-${version}";
7 version = "3.5.0";
8
9 src = fetchFromGitHub {
10 owner = "communi";
11 repo = "libcommuni";
12 rev = "v${version}";
13 sha256 = "15crqc7a4kwrfbxs121rpdysw0694hh7dr290gg7pm61akvnrqcm";
14 };
15
16 buildInputs = [ qtbase qtdeclarative ];
17 nativeBuildInputs = [ qmake which ];
18
19 enableParallelBuilding = true;
20
21 dontUseQmakeConfigure = true;
22 configureFlags = "-config release";
23 preConfigure = ''
24 sed -i -e 's|/bin/pwd|pwd|g' configure
25 '';
26
27 doCheck = true;
28
29 # Hack to avoid TMPDIR in RPATHs.
30 preFixup = "rm -rf lib";
31
32 meta = with stdenv.lib; {
33 description = "A cross-platform IRC framework written with Qt";
34 homepage = https://communi.github.io;
35 license = licenses.bsd3;
36 platforms = platforms.all;
37 maintainers = with maintainers; [ hrdinka ];
38 };
39}