From 657ae2a6213b3407f3866a2507ebc82e0646dfa0 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Wed, 12 May 2010 00:50:01 +0000 Subject: [PATCH] adding libdwg - optional dependency of grass svn path=/nixpkgs/trunk/; revision=21736 --- pkgs/development/libraries/libdwg/default.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/libraries/libdwg/default.nix diff --git a/pkgs/development/libraries/libdwg/default.nix b/pkgs/development/libraries/libdwg/default.nix new file mode 100644 index 000000000000..a92a48bf75f9 --- /dev/null +++ b/pkgs/development/libraries/libdwg/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d03aa22683ff..277e3aa0b9a2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;