mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #253510 from schmittlauch/cawbird-remove
cawbird: remove due to being broken and abandoned
This commit is contained in:
commit
f9d1b02cde
4 changed files with 3 additions and 90 deletions
|
@ -247,6 +247,8 @@ The module update takes care of the new config syntax and the data itself (user
|
|||
- `networking.nftables` is no longer flushing all rulesets on every reload.
|
||||
Use `networking.nftables.flushRuleset = true;` to get back the old behaviour.
|
||||
|
||||
- The `cawbird` package is dropped from nixpkgs, as it got broken by the Twitter API closing down and has been abandoned upstream.
|
||||
|
||||
## Nixpkgs internals {#sec-release-23.11-nixpkgs-internals}
|
||||
|
||||
- The use of `sourceRoot = "source";`, `sourceRoot = "source/subdir";`, and similar lines in package derivations using the default `unpackPhase` is deprecated as it requires `unpackPhase` to always produce a directory named "source". Use `sourceRoot = src.name`, `sourceRoot = "${src.name}/subdir";`, or `setSourceRoot = "sourceRoot=$(echo */subdir)";` or similar instead.
|
||||
|
|
|
@ -1,88 +0,0 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, glib
|
||||
, gtk3
|
||||
, json-glib
|
||||
, sqlite
|
||||
, libsoup
|
||||
, liboauth
|
||||
, gettext
|
||||
, gspell
|
||||
, vala
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, dconf
|
||||
, gst_all_1
|
||||
, wrapGAppsHook
|
||||
, gobject-introspection
|
||||
, glib-networking
|
||||
, librest
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.5";
|
||||
pname = "cawbird";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "IBBoard";
|
||||
repo = "cawbird";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-XFN9gfCoQDmYYysg1yrUoPPE0Ow40LttvV5Ltu0DTfI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
vala
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
python3
|
||||
gobject-introspection # for setup hook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk3
|
||||
json-glib
|
||||
sqlite
|
||||
libsoup
|
||||
liboauth
|
||||
gettext
|
||||
dconf
|
||||
gspell
|
||||
glib-networking
|
||||
librest
|
||||
] ++ (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
|
||||
patchShebangs data/meson_post_install.py
|
||||
'';
|
||||
|
||||
# supply Twitter API keys
|
||||
# use keys supplied by @SuperSandro2000, see https://github.com/IBBoard/cawbird/blob/master/README.md#preparation
|
||||
mesonFlags = [
|
||||
"-Dconsumer_key_base64=YnJJNm01SE9PbEkzM3pWenZObVhVSHdlTg=="
|
||||
"-Dconsumer_secret_base64=YUc1SkcyYzhsenlKT2VOWWhVSXlJMERDaFh0WEswUG9oTEp4TzhZNEdJb1hXN0hhYlY="
|
||||
];
|
||||
|
||||
meta = with 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/";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with lib.maintainers; [ jonafato schmittlauch ];
|
||||
};
|
||||
}
|
|
@ -223,6 +223,7 @@ mapAliases ({
|
|||
cassandra_2_1 = throw "cassandra_2_1 has been removed, please use cassandra_3_11 instead"; # Added 2022-10-29
|
||||
cassandra_2_2 = throw "cassandra_2_2 has been removed, please use cassandra_3_11 instead"; # Added 2022-10-29
|
||||
catfish = xfce.catfish; # Added 2019-12-22
|
||||
cawbird = throw "cawbird has been abandoned upstream and is broken anyways due to Twitter closing its API";
|
||||
ccloud-cli = throw "ccloud-cli has been removed, please use confluent-cli instead"; # Added 2023-06-09
|
||||
ccnet = throw "ccnet has been removed because seafile does not depend on it anymore"; # Added 2021-03-25
|
||||
cde-gtk-theme = throw "cde-gtk-theme has been removed from nixpkgs as it shipped with python2 scripts that didn't work anymore"; # Added 2022-01-12
|
||||
|
|
|
@ -4594,8 +4594,6 @@ with pkgs;
|
|||
|
||||
cardpeek = callPackage ../applications/misc/cardpeek { inherit (darwin.apple_sdk.frameworks) PCSC; };
|
||||
|
||||
cawbird = callPackage ../applications/networking/cawbird { };
|
||||
|
||||
cde = callPackage ../tools/package-management/cde { };
|
||||
|
||||
cdxgen = callPackage ../tools/security/cdxgen { };
|
||||
|
|
Loading…
Reference in a new issue