corebird: fix build
This commit is contained in:
parent
046a5784ca
commit
bdfbe578da
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, gtk3, json-glib, sqlite, libsoup, gettext, vala_0_32
|
{ stdenv, fetchFromGitHub, glib, gtk3, json-glib, sqlite, libsoup, gettext, vala_0_40
|
||||||
, automake, autoconf, libtool, pkgconfig, gnome3, gst_all_1, wrapGAppsHook
|
, meson, ninja, pkgconfig, gnome3, gst_all_1, wrapGAppsHook, gobjectIntrospection
|
||||||
, glib-networking }:
|
, glib-networking }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -13,20 +13,24 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0qjffsmg1hm64dgsbkfwzbzy9q4xa1q4fh4h8ni8a2b1p3h80x7n";
|
sha256 = "0qjffsmg1hm64dgsbkfwzbzy9q4xa1q4fh4h8ni8a2b1p3h80x7n";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
nativeBuildInputs = [
|
||||||
./autogen.sh
|
meson ninja vala_0_40 pkgconfig wrapGAppsHook
|
||||||
'';
|
gobjectIntrospection # for setup hook
|
||||||
|
];
|
||||||
nativeBuildInputs = [ automake autoconf libtool pkgconfig wrapGAppsHook ];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3 json-glib sqlite libsoup gettext vala_0_32 gnome3.dconf gnome3.gspell glib-networking
|
glib gtk3 json-glib sqlite libsoup gettext gnome3.dconf gnome3.gspell glib-networking
|
||||||
] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good (gst-plugins-bad.override { gtkSupport = true; }) gst-libav ]);
|
] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good (gst-plugins-bad.override { gtkSupport = true; }) gst-libav ]);
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
chmod +x data/meson_post_install.py # patchShebangs requires executable file
|
||||||
|
patchShebangs data/meson_post_install.py
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Native Gtk+ Twitter client for the Linux desktop";
|
description = "Native Gtk+ Twitter client for the Linux desktop";
|
||||||
longDescription = "Corebird is a modern, easy and fun Twitter client.";
|
longDescription = "Corebird is a modern, easy and fun Twitter client.";
|
||||||
homepage = http://corebird.baedert.org;
|
homepage = https://corebird.baedert.org/;
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
maintainers = [ stdenv.lib.maintainers.jonafato ];
|
maintainers = [ stdenv.lib.maintainers.jonafato ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user