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