about summary refs log tree commit diff
path: root/pkgs/applications/networking/irc/communi
diff options
context:
space:
mode:
authorChristoph Hrdinka <c.github@hrdinka.at>2016-01-10 12:01:48 +0100
committerChristoph Hrdinka <c.github@hrdinka.at>2016-01-10 13:31:36 +0100
commit5e380189596515cdad191ca1a0c883f52f47c4ac (patch)
tree6b7f18cf7c4bb3f1facf30bc1e6c9836631141f2 /pkgs/applications/networking/irc/communi
parent4ad12e038ad361bfbb81d2e48794f7f125a6a951 (diff)
communi: init at 2016-01-03
Diffstat (limited to 'pkgs/applications/networking/irc/communi')
-rw-r--r--pkgs/applications/networking/irc/communi/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/communi/default.nix b/pkgs/applications/networking/irc/communi/default.nix
new file mode 100644
index 0000000000000..05a5971990254
--- /dev/null
+++ b/pkgs/applications/networking/irc/communi/default.nix
@@ -0,0 +1,30 @@
+{ fetchgit, libcommuni, qt5, stdenv
+}:
+
+stdenv.mkDerivation rec {
+  name = "communi-${version}";
+  version = "2016-01-03";
+
+  src = fetchgit {
+    url = "https://github.com/communi/communi-desktop.git";
+    rev = "ad1b9a30ed6c51940c0d2714b126a32b5d68c876";
+    sha256 = "0gk6gck09zb44qfsal7bs4ln2vl9s9x3vfxh7jvfc7mmf7l3sspd";
+  };
+
+  buildInputs = [ libcommuni qt5.qtbase ];
+
+  enableParallelBuild = true;
+
+  configurePhase = ''
+    export QMAKEFEATURES=${libcommuni}/features
+    qmake -r COMMUNI_INSTALL_PREFIX=$out
+  '';
+
+  meta = with stdenv.lib; {
+    description = "A simple and elegant cross-platform IRC client";
+    homepage = https://github.com/communi/communi-desktop;
+    license = licenses.bsd3;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ hrdinka ];
+  };
+}