2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-11-27 17:43:58 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, json-glib
|
|
|
|
, sqlite
|
|
|
|
, libsoup
|
|
|
|
, gettext
|
|
|
|
, gspell
|
|
|
|
, vala
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-17 02:09:27 +00:00
|
|
|
, pkg-config
|
2019-11-30 23:11:47 +00:00
|
|
|
, dconf
|
2019-11-27 17:43:58 +00:00
|
|
|
, gst_all_1
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gobject-introspection
|
|
|
|
, glib-networking
|
2020-09-05 15:00:33 +01:00
|
|
|
, librest
|
2019-11-27 17:43:58 +00:00
|
|
|
, python3
|
|
|
|
}:
|
2019-10-01 13:07:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-05 15:00:33 +01:00
|
|
|
version = "1.2.1";
|
2019-10-01 13:07:57 +01:00
|
|
|
pname = "cawbird";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "IBBoard";
|
|
|
|
repo = "cawbird";
|
|
|
|
rev = "v${version}";
|
2020-09-05 15:00:33 +01:00
|
|
|
sha256 = "11s8x48syy5wjj23ab4bn5jxhi7l5sx7aw6q2ggk99v042hxh3h2";
|
2019-10-01 13:07:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2019-11-27 17:43:58 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
vala
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2019-11-27 17:43:58 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
python3
|
2019-10-01 13:07:57 +01:00
|
|
|
gobject-introspection # for setup hook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-11-27 17:43:58 +00:00
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
json-glib
|
|
|
|
sqlite
|
|
|
|
libsoup
|
|
|
|
gettext
|
2019-11-30 23:11:47 +00:00
|
|
|
dconf
|
2019-11-27 17:43:58 +00:00
|
|
|
gspell
|
|
|
|
glib-networking
|
2020-09-05 15:00:33 +01:00
|
|
|
librest
|
2019-11-27 17:43:58 +00:00
|
|
|
] ++ (with gst_all_1; [
|
|
|
|
gstreamer
|
|
|
|
gst-plugins-base
|
|
|
|
gst-plugins-bad
|
|
|
|
(gst-plugins-good.override {
|
|
|
|
gtkSupport = true;
|
|
|
|
})
|
|
|
|
gst-libav
|
|
|
|
]);
|
2019-10-01 13:07:57 +01:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x data/meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs data/meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-10-01 13:07:57 +01: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 17:43:58 +00:00
|
|
|
homepage = "https://ibboard.co.uk/cawbird/";
|
2019-10-01 13:07:57 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2021-01-15 05:42:41 +00:00
|
|
|
maintainers = with lib.maintainers; [ jonafato schmittlauch ];
|
2019-10-01 13:07:57 +01:00
|
|
|
};
|
|
|
|
}
|