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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
638 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, indent}:
stdenv.mkDerivation rec {
pname = "libdwg";
version = "0.6";
src = fetchurl {
url = "mirror://sourceforge/libdwg/libdwg-${version}.tar.bz2";
2016-04-13 01:46:24 +01:00
sha256 = "0l8ks1x70mkna1q7mzy1fxplinz141bd24qhrm1zkdil74mcsryc";
};
2016-04-13 01:46:24 +01:00
nativeBuildInputs = [ indent ];
2016-06-14 12:46:09 +01: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 = lib.licenses.gpl3;
maintainers = [lib.maintainers.marcweber];
platforms = lib.platforms.linux;
};
}