offrss: drop due to age and lack of maintainer (#412816)

This commit is contained in:
Pol Dellaiera 2025-06-02 23:20:18 +02:00 committed by GitHub
commit 36094784c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 59 deletions

View file

@ -13,7 +13,7 @@
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
- Create the first release note entry in this section!
- The `offrss` package was removed due to lack of upstream maintenance since 2012. It's recommended for users to migrate to another RSS reader
## Other Notable Changes {#sec-nixpkgs-release-25.11-notable-changes}

View file

@ -1,58 +0,0 @@
{
lib,
stdenv,
fetchurl,
curl,
libmrss,
podofo,
libiconv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "offrss";
version = "1.3";
installPhase = ''
mkdir -p $out/bin
cp offrss $out/bin
'';
buildInputs =
[
curl
libmrss
]
++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) podofo
++ lib.optional (!stdenv.hostPlatform.isLinux) libiconv;
# Workaround build failure on -fno-common toolchains:
# ld: serve_pdf.o:offrss.h:75: multiple definition of `cgi_url_path';
# offrss.o:offrss.h:75: first defined here
env.NIX_CFLAGS_COMPILE = "-fcommon -Wno-error=implicit-function-declaration";
configurePhase =
''
substituteInPlace Makefile \
--replace '$(CC) $(CFLAGS) $(LDFLAGS)' '$(CXX) $(CFLAGS) $(LDFLAGS)'
''
+ lib.optionalString (!stdenv.hostPlatform.isLinux) ''
sed 's/#EXTRA/EXTRA/' -i Makefile
''
+ lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
sed 's/^PDF/#PDF/' -i Makefile
'';
src = fetchurl {
url = "http://vicerveza.homeunix.net/~viric/soft/offrss/offrss-${finalAttrs.version}.tar.gz";
hash = "sha256-5oIiDLdFrnEfPfSiwCv3inIcxK+bbgbMT1VISVAPfKo=";
};
meta = {
homepage = "http://vicerveza.homeunix.net/~viric/cgi-bin/offrss";
description = "Offline RSS/Atom reader";
license = lib.licenses.agpl3Plus;
maintainers = [ ];
platforms = lib.platforms.linux;
mainProgram = "offrss";
};
})

View file

@ -1391,6 +1391,7 @@ mapAliases {
oauth2_proxy = throw "'oauth2_proxy' has been renamed to/replaced by 'oauth2-proxy'"; # Converted to throw 2024-10-17
ocis-bin = throw "ocis-bin has been renamed to ocis_5-bin'. Future major.minor versions will be made available as separate packages"; # Added 2025-03-30
odoo15 = throw "odoo15 has been removed from nixpkgs as it is unsupported; migrate to a newer version of odoo"; # Added 2025-05-06
offrss = throw "offrss has been removed due to lack of upstream maintenance; consider using another rss reader"; # Added 2025-06-01
oil = lib.warnOnInstantiate "Oil has been replaced with the faster native C++ version and renamed to 'oils-for-unix'. See also https://github.com/oils-for-unix/oils/wiki/Oils-Deployments" oils-for-unix; # Added 2024-10-22
onevpl-intel-gpu = lib.warnOnInstantiate "onevpl-intel-gpu has been renamed to vpl-gpu-rt" vpl-gpu-rt; # Added 2024-06-04
openai-whisper-cpp = whisper-cpp; # Added 2024-12-13