Skip to content

Commit

Permalink
cawbird: init at 1.0.1
Browse files Browse the repository at this point in the history
Cawbird is a fork of the discontinued Corebird Twitter client.

Co-Authored-By: Jon <jonringer@users.noreply.github.com>
  • Loading branch information
schmittlauch and Jon committed Oct 1, 2019
1 parent 9149da7 commit e1c7d20
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pkgs/applications/networking/cawbird/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1309,6 +1309,8 @@ in

cardpeek = callPackage ../applications/misc/cardpeek { };

cawbird = callPackage ../applications/networking/cawbird { };

cde = callPackage ../tools/package-management/cde { };

cdemu-daemon = callPackage ../misc/emulators/cdemu/daemon.nix { };
Expand Down

0 comments on commit e1c7d20

Please sign in to comment.