From 5e380189596515cdad191ca1a0c883f52f47c4ac Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Sun, 10 Jan 2016 12:01:48 +0100 Subject: [PATCH] communi: init at 2016-01-03 --- .../networking/irc/communi/default.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/applications/networking/irc/communi/default.nix diff --git a/pkgs/applications/networking/irc/communi/default.nix b/pkgs/applications/networking/irc/communi/default.nix new file mode 100644 index 000000000000..05a597199025 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b03357dcc5b7..adbc8b0c1183 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11288,6 +11288,8 @@ let pulseaudioSupport = config.pulseaudio or false; }; + communi = callPackage ../applications/networking/irc/communi { }; + CompBus = callPackage ../applications/audio/CompBus { }; compiz = callPackage ../applications/window-managers/compiz {