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:
parent
75ca72cf75
commit
657ae2a621
18
pkgs/development/libraries/libdwg/default.nix
Normal file
18
pkgs/development/libraries/libdwg/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue