2021-05-03 20:48:10 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, cairo
|
|
|
|
, ffmpeg
|
|
|
|
, libexif
|
|
|
|
, pango
|
|
|
|
, pkg-config
|
|
|
|
, wxGTK
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wxSVG";
|
|
|
|
version = "1.5.22";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-03 20:48:10 +00:00
|
|
|
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/wxsvg-${version}.tar.bz2";
|
|
|
|
hash = "sha256-DeFozZ8MzTCbhkDBtuifKpBpg7wS7+dbDFzTDx6v9Sk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
ffmpeg
|
|
|
|
libexif
|
|
|
|
pango
|
|
|
|
wxGTK
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2021-05-03 20:48:10 +00:00
|
|
|
homepage = "http://wxsvg.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A SVG manipulation library built with wxWidgets";
|
|
|
|
longDescription = ''
|
2021-05-03 20:48:10 +00:00
|
|
|
wxSVG is C++ library to create, manipulate and render Scalable Vector
|
|
|
|
Graphics (SVG) files with the wxWidgets toolkit.
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
2021-05-03 20:48:10 +00:00
|
|
|
license = with licenses; gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2021-05-03 20:48:10 +00:00
|
|
|
platforms = wxGTK.meta.platforms;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|