python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libdwg / default.nix
blob37eeb73f91cd74d6696227ff24ebf1bbca982a31
1 {lib, stdenv, fetchurl, indent}:
3 stdenv.mkDerivation rec {
4   pname = "libdwg";
5   version = "0.6";
7   src = fetchurl {
8     url = "mirror://sourceforge/libdwg/libdwg-${version}.tar.bz2";
9     sha256 = "0l8ks1x70mkna1q7mzy1fxplinz141bd24qhrm1zkdil74mcsryc";
10   };
12   nativeBuildInputs = [ indent ];
14   hardeningDisable = [ "format" ];
16   # Hack to avoid TMPDIR in RPATHs.
17   preFixup = ''rm -rf "$(pwd)" '';
19   meta = {
20     description = "Library reading dwg files";
21     homepage = "http://libdwg.sourceforge.net/en/";
22     license = lib.licenses.gpl3;
23     maintainers = [lib.maintainers.marcweber];
24     platforms = lib.platforms.linux;
25   };