2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl, indent}:
|
2010-05-12 01:50:01 +01:00
|
|
|
|
2021-11-09 21:14:04 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libdwg";
|
|
|
|
version = "0.6";
|
2010-05-12 01:50:01 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-09 21:14:04 +00:00
|
|
|
url = "mirror://sourceforge/libdwg/libdwg-${version}.tar.bz2";
|
2016-04-13 01:46:24 +01:00
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://libdwg.sourceforge.net/en/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [lib.maintainers.marcweber];
|
|
|
|
platforms = lib.platforms.linux;
|
2010-05-12 01:50:01 +01:00
|
|
|
};
|
|
|
|
}
|