about summary refs log tree commit diff
path: root/pkgs/applications/networking/cawbird
diff options
context:
space:
mode:
authorTrolli Schmittlauch <t.schmittlauch+nixos@orlives.de>2019-10-01 14:07:57 +0200
committerTrolli Schmittlauch <t.schmittlauch+nixos@orlives.de>2019-10-01 23:38:12 +0200
commite1c7d2079336148dd48cdd17cfc7b35e0d1559b3 (patch)
treeb518f054904f93d834f32bd06625630f90ed6b83 /pkgs/applications/networking/cawbird
parent9149da788f9d4fd4a4be2d840c72f6acdad943e3 (diff)
downloadnixlib-e1c7d2079336148dd48cdd17cfc7b35e0d1559b3.tar
nixlib-e1c7d2079336148dd48cdd17cfc7b35e0d1559b3.tar.gz
nixlib-e1c7d2079336148dd48cdd17cfc7b35e0d1559b3.tar.bz2
nixlib-e1c7d2079336148dd48cdd17cfc7b35e0d1559b3.tar.lz
nixlib-e1c7d2079336148dd48cdd17cfc7b35e0d1559b3.tar.xz
nixlib-e1c7d2079336148dd48cdd17cfc7b35e0d1559b3.tar.zst
nixlib-e1c7d2079336148dd48cdd17cfc7b35e0d1559b3.zip
cawbird: init at 1.0.1
Cawbird is a fork of the discontinued Corebird Twitter client.

Co-Authored-By: Jon <jonringer@users.noreply.github.com>
Diffstat (limited to 'pkgs/applications/networking/cawbird')
-rw-r--r--pkgs/applications/networking/cawbird/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cawbird/default.nix b/pkgs/applications/networking/cawbird/default.nix
new file mode 100644
index 000000000000..edcf9b2846ed
--- /dev/null
+++ b/pkgs/applications/networking/cawbird/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchFromGitHub, glib, gtk3, json-glib, sqlite, libsoup, gettext, vala
+, meson, ninja, pkgconfig, gnome3, gst_all_1, wrapGAppsHook, gobject-introspection
+, glib-networking, python3 }:
+
+stdenv.mkDerivation rec {
+  version = "1.0.1";
+  pname = "cawbird";
+
+  src = fetchFromGitHub {
+    owner = "IBBoard";
+    repo = "cawbird";
+    rev = "v${version}";
+    sha256 = "sha256:0bk33fh32nnv6ya6j0ij34abw6a3g6m8fq13303slhhja8xhvmb1";
+  };
+
+  nativeBuildInputs = [
+    meson ninja vala pkgconfig wrapGAppsHook python3
+    gobject-introspection # for setup hook
+  ];
+
+  buildInputs = [
+    glib gtk3 json-glib sqlite libsoup gettext gnome3.dconf gnome3.gspell glib-networking
+  ] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-bad (gst-plugins-good.override { gtkSupport = true; }) gst-libav ]);
+
+  postPatch = ''
+    chmod +x data/meson_post_install.py # patchShebangs requires executable file
+    patchShebangs data/meson_post_install.py
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Native GTK Twitter client for the Linux desktop";
+    longDescription = "Cawbird is a modern, easy and fun Twitter client. Fork of the discontinued Corebird.";
+    homepage = https://ibboard.co.uk/cawbird/;
+    license = licenses.gpl3;
+    platforms = platforms.linux;
+    maintainers = with stdenv.lib.maintainers; [ jonafato schmittlauch ];
+  };
+}