about summary refs log tree commit diff
path: root/pkgs/development/libraries/libdwg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libdwg/default.nix')
-rw-r--r--pkgs/development/libraries/libdwg/default.nix32
1 files changed, 0 insertions, 32 deletions
diff --git a/pkgs/development/libraries/libdwg/default.nix b/pkgs/development/libraries/libdwg/default.nix
deleted file mode 100644
index 969b5d9636f2..000000000000
--- a/pkgs/development/libraries/libdwg/default.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{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.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;
-  };
-}