2019-11-27 17:43:58 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, json-glib
|
|
|
|
, sqlite
|
|
|
|
, libsoup
|
|
|
|
, gettext
|
|
|
|
, gspell
|
|
|
|
, vala
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
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
|
|
|
|
, python3
|
|
|
|
}:
|
2019-10-01 12:07:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-31 17:48:57 +00:00
|
|
|
version = "1.1.0";
|
2019-10-01 12:07:57 +00:00
|
|
|
pname = "cawbird";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "IBBoard";
|
|
|
|
repo = "cawbird";
|
|
|
|
rev = "v${version}";
|
2020-06-01 08:59:41 +00:00
|
|
|
sha256 = "0zghryx5y47ff8kxa65lvgmy1cnhvhazxml7r1lxixxj3d88wh7p";
|
2019-10-01 12:07:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2019-11-27 17:43:58 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
vala
|
|
|
|
pkgconfig
|
|
|
|
wrapGAppsHook
|
|
|
|
python3
|
2019-10-01 12:07:57 +00: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
|
|
|
|
] ++ (with gst_all_1; [
|
|
|
|
gstreamer
|
|
|
|
gst-plugins-base
|
|
|
|
gst-plugins-bad
|
|
|
|
(gst-plugins-good.override {
|
|
|
|
gtkSupport = true;
|
|
|
|
})
|
|
|
|
gst-libav
|
|
|
|
]);
|
2019-10-01 12:07:57 +00:00
|
|
|
|
|
|
|
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.";
|
2019-11-27 17:43:58 +00:00
|
|
|
homepage = "https://ibboard.co.uk/cawbird/";
|
2019-10-01 12:07:57 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ jonafato schmittlauch ];
|
|
|
|
};
|
|
|
|
}
|