From af66f4fd2a5e008f923a9f76e92c0f8665744fd8 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Tue, 5 Sep 2023 22:12:50 +0200 Subject: [PATCH] cawbird: remove due to being broken and abandoned -- dedicated to Larry the bird --- .../manual/release-notes/rl-2311.section.md | 2 + .../networking/cawbird/default.nix | 88 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 4 files changed, 3 insertions(+), 90 deletions(-) delete mode 100644 pkgs/applications/networking/cawbird/default.nix diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md index 3e20cc438969..d0359624d19a 100644 --- a/nixos/doc/manual/release-notes/rl-2311.section.md +++ b/nixos/doc/manual/release-notes/rl-2311.section.md @@ -245,6 +245,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. diff --git a/pkgs/applications/networking/cawbird/default.nix b/pkgs/applications/networking/cawbird/default.nix deleted file mode 100644 index 0f5e807d0069..000000000000 --- a/pkgs/applications/networking/cawbird/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 2a203f21bbe0..e1fe617841d8 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -224,6 +224,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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b18f2e140bc6..a881309ef56a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4592,8 +4592,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 { };