My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/libdwg/default.nix

26 lines
638 B

{lib, stdenv, fetchurl, indent}:
stdenv.mkDerivation rec {
pname = "libdwg";
version = "0.6";
src = fetchurl {
url = "mirror://sourceforge/libdwg/libdwg-${version}.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 = lib.licenses.gpl3;
maintainers = [lib.maintainers.marcweber];
platforms = lib.platforms.linux;
};
}