Merge libgrss: remove (#399439)

This commit is contained in:
Jan Tojnar
2025-04-17 20:45:24 +02:00
committed by GitHub
3 changed files with 1 additions and 93 deletions
@@ -1,89 +0,0 @@
{
lib,
stdenv,
fetchurl,
fetchpatch,
pkg-config,
vala,
gobject-introspection,
gtk-doc,
docbook_xsl,
docbook_xml_dtd_412,
glib,
libxml2,
libsoup_2_4,
gnome,
buildPackages,
Foundation,
AppKit,
}:
stdenv.mkDerivation rec {
pname = "libgrss";
version = "0.7.0";
outputs = [
"out"
"dev"
"devdoc"
];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7";
};
patches = [
(fetchpatch {
name = "CVE-2016-20011.patch";
# https://gitlab.gnome.org/GNOME/libgrss/-/merge_requests/7, not yet merged!
url = "https://gitlab.gnome.org/GNOME/libgrss/-/commit/2c6ea642663e2a44efc8583fae7c54b7b98f72b3.patch";
sha256 = "1ijvq2jl97vphcvrbrqxvszdmv6yyjfygdca9vyaijpafwyzzb18";
})
];
nativeBuildInputs = [
pkg-config
vala
gobject-introspection
gtk-doc
docbook_xsl
docbook_xml_dtd_412
];
buildInputs =
[
glib
libxml2
libsoup_2_4
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
Foundation
AppKit
];
configureFlags =
[
"PKG_CONFIG=${buildPackages.pkg-config}/bin/${buildPackages.pkg-config.targetPrefix}pkg-config"
]
++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
"--enable-gtk-doc"
];
doCheck = true;
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
description = "Glib abstaction to handle feeds in RSS, Atom and other formats";
homepage = "https://gitlab.gnome.org/GNOME/libgrss";
license = licenses.lgpl3Plus;
maintainers = teams.gnome.members;
platforms = platforms.unix;
};
}
+1
View File
@@ -933,6 +933,7 @@ mapAliases {
libgme = game-music-emu; # Added 2022-07-20
libgnome-keyring3 = libgnome-keyring; # Added 2024-06-22
libgpgerror = throw "'libgpgerror' has been renamed to/replaced by 'libgpg-error'"; # Converted to throw 2024-10-17
libgrss = throw "'libgrss' has been removed as it was archived upstream and had no users in nixpkgs"; # Added 2025-04-17
libheimdal = heimdal; # Added 2022-11-18
libhttpseverywhere = throw "'libhttpseverywhere' has been removed due to lack of upstream maintenance. It was no longer used in nixpkgs."; # Added 2025-04-17
libiconv-darwin = darwin.libiconv;
-4
View File
@@ -10104,10 +10104,6 @@ with pkgs;
callPackage ../development/libraries/libgnome-games-support/2.0.nix
{ };
libgrss = callPackage ../development/libraries/libgrss {
inherit (darwin.apple_sdk_11_0.frameworks) Foundation AppKit;
};
libiio = callPackage ../development/libraries/libiio {
inherit (darwin.apple_sdk.frameworks) CFNetwork CoreServices;
python = python3;