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