nixpkgs/pkgs/development/libraries/libdwg/default.nix

26 lines
623 B
Nix
Raw Normal View History

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