From 1205b27b2477a6782a1994cbc0b4000d2a6257e5 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 5 Mar 2017 12:38:18 -0300 Subject: [PATCH] wxSVG: init at 1.5.11 --- pkgs/development/libraries/wxSVG/default.nix | 34 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/libraries/wxSVG/default.nix diff --git a/pkgs/development/libraries/wxSVG/default.nix b/pkgs/development/libraries/wxSVG/default.nix new file mode 100644 index 00000000000..b991590924d --- /dev/null +++ b/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.11"; + + src = fetchurl { + url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/${srcName}.tar.bz2"; + sha256 = "0m3ff8mjiq4hvy8rmxyc9fkpf24xwxhvr3a6jmvr2q5zc41xhz7x"; + }; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c9b2d6792c1..3d97cdc28e2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10033,6 +10033,10 @@ with pkgs; inherit (darwin.stubs) setfile rez derez; }; + wxSVG = callPackage ../development/libraries/wxSVG { + wxGTK = wxGTK30; + }; + wtk = callPackage ../development/libraries/wtk { }; x264 = callPackage ../development/libraries/x264 { };