diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/wxSVG')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/wxSVG/default.nix | 34 |
1 files changed, 34 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..442e3fca77c3 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/wxSVG/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchurl +, pkgconfig, wxGTK +, ffmpeg, libexif +, cairo, pango }: + +stdenv.mkDerivation rec { + + name = "wxSVG-${version}"; + srcName = "wxsvg-${version}"; + version = "1.5.16"; + + src = fetchurl { + url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/${srcName}.tar.bz2"; + sha256 = "1gnajsk73vkj7ii43ynr20ln9qck3f0lshf5gdbxsam3qgmx7gd4"; + }; + + nativeBuildInputs = [ pkgconfig ]; + + propagatedBuildInputs = [ wxGTK ffmpeg libexif ]; + + buildInputs = [ cairo pango ]; + + meta = with stdenv.lib; { + 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. + ''; + homepage = http://wxsvg.sourceforge.net/; + license = with licenses; gpl2; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = with platforms; linux; + }; +} |