libnih: remove

libnih is a niche low-level library. It was used for lxc and cgmanager.
Reverse dependencies were removed of transitioned from libnih a few years ago.

Nowadays libnih does not build against upstream gcc-10. Let's remove it.
main
Sergei Trofimovich 2 years ago
parent 6323f3ccba
commit 83ebd8c52e
  1. 25
      pkgs/development/libraries/libnih/default.nix
  2. 1
      pkgs/top-level/aliases.nix
  3. 2
      pkgs/top-level/all-packages.nix

@ -1,25 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, dbus, expat }:
let version = "1.0.3"; in
stdenv.mkDerivation {
pname = "libnih";
inherit version;
src = fetchurl {
url = "https://code.launchpad.net/libnih/1.0/${version}/+download/libnih-${version}.tar.gz";
sha256 = "01glc6y7z1g726zwpvp2zm79pyb37ki729jkh45akh35fpgp4xc9";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus expat ];
doCheck = false; # fails 1 of 17 test
meta = {
description = "A small library for C application development";
homepage = "https://launchpad.net/libnih";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}

@ -677,6 +677,7 @@ mapAliases ({
liblastfm = libsForQt5.liblastfm; # Added 2020-06-14
liblrdf = throw "'liblrdf' has been renamed to/replaced by 'lrdf'"; # Converted to throw 2022-02-22
libmsgpack = throw "'libmsgpack' has been renamed to/replaced by 'msgpack'"; # Converted to throw 2022-02-22
libnih = throw "'libnih' has been removed"; # Converted to throw 2022-05-17
libosmpbf = throw "libosmpbf was removed because it is no longer required by osrm-backend";
libpng_apng = throw "libpng_apng has been removed, because it is equivalent to libpng"; # Added 2021-03-21
libpulseaudio-vanilla = libpulseaudio; # Added 2022-04-20

@ -19036,8 +19036,6 @@ with pkgs;
libnftnl = callPackage ../development/libraries/libnftnl { };
libnih = callPackage ../development/libraries/libnih { };
libnova = callPackage ../development/libraries/science/astronomy/libnova { };
libnxml = callPackage ../development/libraries/libnxml { };

Loading…
Cancel
Save