2018-03-21 11:38:38 +01:00
|
|
|
{ stdenv, fetchFromGitHub, glib, gtk3, json-glib, sqlite, libsoup, gettext, vala_0_40
|
2018-12-02 12:41:15 +01:00
|
|
|
, meson, ninja, pkgconfig, gnome3, gst_all_1, wrapGAppsHook, gobject-introspection
|
2018-09-03 23:18:20 +02:00
|
|
|
, glib-networking, python3 }:
|
2016-09-16 04:06:02 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-02 16:21:27 +01:00
|
|
|
version = "1.7.4";
|
2016-09-16 04:06:02 +02:00
|
|
|
name = "corebird-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "baedert";
|
|
|
|
repo = "corebird";
|
|
|
|
rev = version;
|
2018-03-02 16:21:27 +01:00
|
|
|
sha256 = "0qjffsmg1hm64dgsbkfwzbzy9q4xa1q4fh4h8ni8a2b1p3h80x7n";
|
2016-09-16 04:06:02 +02:00
|
|
|
};
|
|
|
|
|
2018-03-21 11:38:38 +01:00
|
|
|
nativeBuildInputs = [
|
2018-09-03 23:18:20 +02:00
|
|
|
meson ninja vala_0_40 pkgconfig wrapGAppsHook python3
|
2018-12-02 12:41:15 +01:00
|
|
|
gobject-introspection # for setup hook
|
2018-03-21 11:38:38 +01:00
|
|
|
];
|
2016-09-16 04:06:02 +02:00
|
|
|
|
|
|
|
buildInputs = [
|
2018-03-21 11:38:38 +01:00
|
|
|
glib gtk3 json-glib sqlite libsoup gettext gnome3.dconf gnome3.gspell glib-networking
|
2018-04-04 17:50:33 +02:00
|
|
|
] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-bad (gst-plugins-good.override { gtkSupport = true; }) gst-libav ]);
|
2016-09-16 04:06:02 +02:00
|
|
|
|
2018-03-21 11:38:38 +01:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x data/meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs data/meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2016-09-16 04:06:02 +02:00
|
|
|
meta = {
|
|
|
|
description = "Native Gtk+ Twitter client for the Linux desktop";
|
|
|
|
longDescription = "Corebird is a modern, easy and fun Twitter client.";
|
2018-03-21 11:38:38 +01:00
|
|
|
homepage = https://corebird.baedert.org/;
|
2016-09-16 04:06:02 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.jonafato ];
|
|
|
|
};
|
|
|
|
}
|