2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2019-11-27 18:43:58 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, json-glib
|
|
|
|
, sqlite
|
|
|
|
, libsoup
|
|
|
|
, gettext
|
|
|
|
, gspell
|
|
|
|
, vala
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
2019-12-01 00:11:47 +01:00
|
|
|
, dconf
|
2019-11-27 18:43:58 +01:00
|
|
|
, gst_all_1
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gobject-introspection
|
|
|
|
, glib-networking
|
2020-09-05 16:00:33 +02:00
|
|
|
, librest
|
2019-11-27 18:43:58 +01:00
|
|
|
, python3
|
|
|
|
}:
|
2019-10-01 14:07:57 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-05 16:00:33 +02:00
|
|
|
version = "1.2.1";
|
2019-10-01 14:07:57 +02:00
|
|
|
pname = "cawbird";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "IBBoard";
|
|
|
|
repo = "cawbird";
|
|
|
|
rev = "v${version}";
|
2020-09-05 16:00:33 +02:00
|
|
|
sha256 = "11s8x48syy5wjj23ab4bn5jxhi7l5sx7aw6q2ggk99v042hxh3h2";
|
2019-10-01 14:07:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2019-11-27 18:43:58 +01:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
vala
|
|
|
|
pkgconfig
|
|
|
|
wrapGAppsHook
|
|
|
|
python3
|
2019-10-01 14:07:57 +02:00
|
|
|
gobject-introspection # for setup hook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-11-27 18:43:58 +01:00
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
json-glib
|
|
|
|
sqlite
|
|
|
|
libsoup
|
|
|
|
gettext
|
2019-12-01 00:11:47 +01:00
|
|
|
dconf
|
2019-11-27 18:43:58 +01:00
|
|
|
gspell
|
|
|
|
glib-networking
|
2020-09-05 16:00:33 +02:00
|
|
|
librest
|
2019-11-27 18:43:58 +01:00
|
|
|
] ++ (with gst_all_1; [
|
|
|
|
gstreamer
|
|
|
|
gst-plugins-base
|
|
|
|
gst-plugins-bad
|
|
|
|
(gst-plugins-good.override {
|
|
|
|
gtkSupport = true;
|
|
|
|
})
|
|
|
|
gst-libav
|
|
|
|
]);
|
2019-10-01 14:07:57 +02:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x data/meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs data/meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-10-01 14:07:57 +02:00
|
|
|
description = "Native GTK Twitter client for the Linux desktop";
|
|
|
|
longDescription = "Cawbird is a modern, easy and fun Twitter client. Fork of the discontinued Corebird.";
|
2019-11-27 18:43:58 +01:00
|
|
|
homepage = "https://ibboard.co.uk/cawbird/";
|
2019-10-01 14:07:57 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2021-01-15 06:42:41 +01:00
|
|
|
maintainers = with lib.maintainers; [ jonafato schmittlauch ];
|
2019-10-01 14:07:57 +02:00
|
|
|
};
|
|
|
|
}
|