From 4ad12e038ad361bfbb81d2e48794f7f125a6a951 Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Sun, 10 Jan 2016 12:01:05 +0100 Subject: [PATCH 1/2] libcommuni: init at 2016-01-02 --- .../libraries/libcommuni/default.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/libraries/libcommuni/default.nix diff --git a/pkgs/development/libraries/libcommuni/default.nix b/pkgs/development/libraries/libcommuni/default.nix new file mode 100644 index 00000000000..e8debfda1de --- /dev/null +++ b/pkgs/development/libraries/libcommuni/default.nix @@ -0,0 +1,30 @@ +{ fetchgit, qt5, stdenv +}: + +stdenv.mkDerivation rec { + name = "libcommuni-${version}"; + version = "2016-01-02"; + + src = fetchgit { + url = "https://github.com/communi/libcommuni.git"; + rev = "779b0c774428669235d44d2db8e762558e2f4b79"; + sha256 = "15sb7vinaaz1v5nclxpnp5p9a0kmfmlgiqibkipnyydizclidpfx"; + }; + + buildInputs = [ qt5.qtbase ]; + + enableParallelBuild = true; + + configurePhase = '' + sed -i -e 's|/bin/pwd|pwd|g' configure + ./configure -config release -prefix $out -qmake ${qt5.qtbase}/bin/qmake + ''; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d76fec2ef00..b03357dcc5b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7040,6 +7040,8 @@ let libcm = callPackage ../development/libraries/libcm { }; + libcommuni = callPackage ../development/libraries/libcommuni { }; + inherit (gnome3) libcroco; libcangjie = callPackage ../development/libraries/libcangjie { }; From 5e380189596515cdad191ca1a0c883f52f47c4ac Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Sun, 10 Jan 2016 12:01:48 +0100 Subject: [PATCH 2/2] 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 00000000000..05a59719902 --- /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 b03357dcc5b..adbc8b0c118 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 {