1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

adding libdwg - optional dependency of grass

svn path=/nixpkgs/trunk/; revision=21736
This commit is contained in:
Marc Weber 2010-05-12 00:50:01 +00:00
parent 75ca72cf75
commit 657ae2a621
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "libdwg-0.3";
src = fetchurl {
url = mirror://sourceforge/libdwg/libdwg-0.3.tar.bz2;
sha256 = "0lx7ih00m11qw9wsc5ksmwvi3d80l0yfwnbrn5qfz182w4d3fpc9";
};
meta = {
description = "library reading dwg files";
homepage = http://libdwg.sourceforge.net/en/;
license = "GPLv3";
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -3913,6 +3913,10 @@ let
libcCross = assert crossSystem != null; libcCrossChooser crossSystem.libc;
libdwg = import ../development/libraries/libdwg {
inherit stdenv fetchurl;
};
eglibc = import ../development/libraries/eglibc {
inherit fetchsvn stdenv;
kernelHeaders = linuxHeaders;