diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/wxSVG')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/wxSVG/default.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/wxSVG/default.nix b/nixpkgs/pkgs/development/libraries/wxSVG/default.nix new file mode 100644 index 000000000000..a8c97bb5b49b --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/wxSVG/default.nix @@ -0,0 +1,46 @@ +{ lib +, stdenv +, fetchurl +, cairo +, ffmpeg +, libexif +, pango +, pkg-config +, wxGTK +# darwin deps +, Cocoa +}: + +stdenv.mkDerivation rec { + pname = "wxSVG"; + version = "1.5.23"; + + src = fetchurl { + url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/wxsvg-${version}.tar.bz2"; + hash = "sha256-Pwc2H6zH0YzBmpQN1zx4FC7V7sOMFNmTqFvwwGHcq7k="; + }; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + cairo + ffmpeg + libexif + pango + wxGTK + ] ++ lib.optional stdenv.isDarwin Cocoa; + + meta = with lib; { + homepage = "http://wxsvg.sourceforge.net/"; + description = "A SVG manipulation library built with wxWidgets"; + longDescription = '' + wxSVG is C++ library to create, manipulate and render Scalable Vector + Graphics (SVG) files with the wxWidgets toolkit. + ''; + license = licenses.gpl2Plus; + maintainers = [ maintainers.AndersonTorres ]; + inherit (wxGTK.meta) platforms; + }; +} |