diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/wxSVG/default.nix')
-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..5e7f7b71fbe5 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/wxSVG/default.nix @@ -0,0 +1,34 @@ +{ lib, stdenv, fetchurl +, pkg-config, wxGTK +, ffmpeg_3, libexif +, cairo, pango }: + +stdenv.mkDerivation rec { + + pname = "wxSVG"; + srcName = "wxsvg-${version}"; + version = "1.5.22"; + + src = fetchurl { + url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/${srcName}.tar.bz2"; + sha256 = "0agmmwg0zlsw1idygvqjpj1nk41akzlbdha0hsdk1k8ckz6niq8d"; + }; + + nativeBuildInputs = [ pkg-config ]; + + propagatedBuildInputs = [ wxGTK ffmpeg_3 libexif ]; + + buildInputs = [ cairo pango ]; + + meta = with 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; + }; +} |