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;