aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/networking/cawbird/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/cawbird/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/networking/cawbird/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/cawbird/default.nix b/nixpkgs/pkgs/applications/networking/cawbird/default.nix
new file mode 100644
index 00000000000..2f1f27a0057
--- /dev/null
+++ b/nixpkgs/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, fetchpatch }:
+
+stdenv.mkDerivation rec {
+ version = "1.0.2";
+ pname = "cawbird";
+
+ src = fetchFromGitHub {
+ owner = "IBBoard";
+ repo = "cawbird";
+ rev = "v${version}";
+ sha256 = "sha256:0b79ngwilicqkgacva93cir4rmk15yzgsih56yb3a4n6bqjispay";
+ };
+
+ 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 ];
+ };
+}