Unverified Commit a4cb0cad authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

libdwg: remove (#368858)

parents 45112417 b0cfb8ab
Loading
Loading
Loading
Loading
+0 −37
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  indent,
}:

stdenv.mkDerivation rec {
  pname = "libdwg";
  version = "0.6";

  src = fetchurl {
    url = "mirror://sourceforge/libdwg/libdwg-${version}.tar.bz2";
    sha256 = "0l8ks1x70mkna1q7mzy1fxplinz141bd24qhrm1zkdil74mcsryc";
  };

  nativeBuildInputs = [ indent ];

  hardeningDisable = [ "format" ];

  # remove forbidden references to $TMPDIR
  preFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
    for f in "$out"/bin/*; do
      if isELF "$f"; then
        patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$f"
      fi
    done
  '';

  meta = {
    description = "Library reading dwg files";
    homepage = "http://libdwg.sourceforge.net/en/";
    license = lib.licenses.gpl3;
    maintainers = [ lib.maintainers.marcweber ];
    platforms = lib.platforms.linux;
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -36,7 +36,6 @@
  libXrandr,
  libbsd,
  libdrm,
  libdwg,
  libjpeg,
  libmd,
  libnotify,
@@ -153,7 +152,6 @@ stdenv.mkDerivation (finalAttrs: {
      hidapi
      libbsd
      libdrm
      libdwg
      libGL
      libjpeg
      libmd
+1 −0
Original line number Diff line number Diff line
@@ -663,6 +663,7 @@ mapAliases {
  libbitcoin-explorer = throw "libbitcoin-explorer has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
  libbitcoin-network = throw "libbitcoin-network has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
  libbitcoin-protocol = throw "libbitcoin-protocol has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
  libdwg = throw "libdwg has been removed as upstream is unmaintained, the code doesn't build without significant patches, and the package had no reverse dependencies"; # Added 2024-12-28
  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