1 {lib, stdenv, fetchurl, indent}:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/libdwg/libdwg-${version}.tar.bz2";
9 sha256 = "0l8ks1x70mkna1q7mzy1fxplinz141bd24qhrm1zkdil74mcsryc";
12 nativeBuildInputs = [ indent ];
14 hardeningDisable = [ "format" ];
16 # Hack to avoid TMPDIR in RPATHs.
17 preFixup = ''rm -rf "$(pwd)" '';
20 description = "Library reading dwg files";
21 homepage = "http://libdwg.sourceforge.net/en/";
22 license = lib.licenses.gpl3;
23 maintainers = [lib.maintainers.marcweber];
24 platforms = lib.platforms.linux;