about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/gobby/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/gobby/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/editors/gobby/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/gobby/default.nix b/nixpkgs/pkgs/applications/editors/gobby/default.nix
new file mode 100644
index 000000000000..27047f8e95a8
--- /dev/null
+++ b/nixpkgs/pkgs/applications/editors/gobby/default.nix
@@ -0,0 +1,30 @@
+{ avahiSupport ? false # build support for Avahi in libinfinity
+, lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config, wrapGAppsHook, yelp-tools
+, gtkmm3, gsasl, gtksourceview3, libxmlxx, libinfinity, intltool, itstool, gnome3 }:
+
+let
+  libinf = libinfinity.override { gtkWidgets = true; inherit avahiSupport; };
+in stdenv.mkDerivation rec {
+  pname = "gobby";
+  version = "0.6.0";
+
+  src = fetchFromGitHub {
+    owner = "gobby";
+    repo = "gobby";
+    rev = "v${version}";
+    sha256 = "06cbc2y4xkw89jaa0ayhgh7fxr5p2nv3jjs8h2xcbbbgwaw08lk0";
+  };
+
+  nativeBuildInputs = [ autoconf automake pkg-config intltool itstool yelp-tools wrapGAppsHook ];
+  buildInputs = [ gtkmm3 gsasl gtksourceview3 libxmlxx libinf ];
+
+  preConfigure = "./autogen.sh";
+
+  meta = with lib; {
+    homepage = "http://gobby.0x539.de/";
+    description = "A GTK-based collaborative editor supporting multiple documents in one session and a multi-user chat";
+    license = lib.licenses.gpl2Plus;
+    maintainers = [ maintainers.phreedom ];
+    platforms = platforms.all;
+  };
+}