mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
cawbird: fix build with disallowed aliases
also clean up
This commit is contained in:
parent
ec3ac88ed8
commit
352775cc51
@ -1,6 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, glib, gtk3, json-glib, sqlite, libsoup, gettext, vala
|
||||
, meson, ninja, pkgconfig, gnome3, gst_all_1, wrapGAppsHook, gobject-introspection
|
||||
, glib-networking, python3 }:
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, glib
|
||||
, gtk3
|
||||
, json-glib
|
||||
, sqlite
|
||||
, libsoup
|
||||
, gettext
|
||||
, gspell
|
||||
, vala
|
||||
, meson
|
||||
, ninja
|
||||
, pkgconfig
|
||||
, gnome3
|
||||
, gst_all_1
|
||||
, wrapGAppsHook
|
||||
, gobject-introspection
|
||||
, glib-networking
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0.3.1";
|
||||
@ -14,13 +31,34 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson ninja vala pkgconfig wrapGAppsHook python3
|
||||
meson
|
||||
ninja
|
||||
vala
|
||||
pkgconfig
|
||||
wrapGAppsHook
|
||||
python3
|
||||
gobject-introspection # for setup hook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib gtk3 json-glib sqlite libsoup gettext gnome3.dconf gnome3.gspell glib-networking
|
||||
] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-bad (gst-plugins-good.override { gtkSupport = true; }) gst-libav ]);
|
||||
glib
|
||||
gtk3
|
||||
json-glib
|
||||
sqlite
|
||||
libsoup
|
||||
gettext
|
||||
gnome3.dconf
|
||||
gspell
|
||||
glib-networking
|
||||
] ++ (with gst_all_1; [
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-bad
|
||||
(gst-plugins-good.override {
|
||||
gtkSupport = true;
|
||||
})
|
||||
gst-libav
|
||||
]);
|
||||
|
||||
postPatch = ''
|
||||
chmod +x data/meson_post_install.py # patchShebangs requires executable file
|
||||
@ -30,7 +68,7 @@ stdenv.mkDerivation rec {
|
||||
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.";
|
||||
homepage = https://ibboard.co.uk/cawbird/;
|
||||
homepage = "https://ibboard.co.uk/cawbird/";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ jonafato schmittlauch ];
|
||||
|
Loading…
Reference in New Issue
Block a user