2016-04-12 17:46:24 -07:00
|
|
|
{stdenv, fetchurl, indent}:
|
2010-05-11 17:50:01 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-04-12 17:46:24 -07:00
|
|
|
name = "libdwg-0.6";
|
2010-05-11 17:50:01 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-12 17:46:24 -07:00
|
|
|
url = mirror://sourceforge/libdwg/libdwg-0.6.tar.bz2;
|
|
|
|
sha256 = "0l8ks1x70mkna1q7mzy1fxplinz141bd24qhrm1zkdil74mcsryc";
|
2010-05-11 17:50:01 -07:00
|
|
|
};
|
|
|
|
|
2016-04-12 17:46:24 -07:00
|
|
|
nativeBuildInputs = [ indent ];
|
|
|
|
|
2016-06-14 04:46:09 -07:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2017-05-16 07:35:52 -07:00
|
|
|
# Hack to avoid TMPDIR in RPATHs.
|
|
|
|
preFixup = ''rm -rf "$(pwd)" '';
|
|
|
|
|
2010-05-11 17:50:01 -07:00
|
|
|
meta = {
|
2016-06-20 03:53:46 -07:00
|
|
|
description = "Library reading dwg files";
|
2010-05-11 17:50:01 -07:00
|
|
|
homepage = http://libdwg.sourceforge.net/en/;
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2010-05-11 17:50:01 -07:00
|
|
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|