1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/libraries/libdwg/default.nix
2020-04-10 17:54:53 +01:00

26 lines
627 B
Nix

{stdenv, fetchurl, indent}:
stdenv.mkDerivation {
name = "libdwg-0.6";
src = fetchurl {
url = "mirror://sourceforge/libdwg/libdwg-0.6.tar.bz2";
sha256 = "0l8ks1x70mkna1q7mzy1fxplinz141bd24qhrm1zkdil74mcsryc";
};
nativeBuildInputs = [ indent ];
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;
};
}