2021-04-27 16:58:55 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, cairo
|
|
|
|
, ffmpeg
|
|
|
|
, libexif
|
|
|
|
, pango
|
|
|
|
, pkg-config
|
|
|
|
, wxGTK
|
|
|
|
}:
|
2017-03-05 16:38:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "wxSVG";
|
2020-01-30 18:04:30 +01:00
|
|
|
version = "1.5.22";
|
2017-03-05 16:38:18 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-27 16:58:55 +02:00
|
|
|
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/wxsvg-${version}.tar.bz2";
|
|
|
|
hash = "sha256-DeFozZ8MzTCbhkDBtuifKpBpg7wS7+dbDFzTDx6v9Sk=";
|
2017-03-05 16:38:18 +01:00
|
|
|
};
|
|
|
|
|
2021-04-27 16:58:55 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
ffmpeg
|
|
|
|
libexif
|
|
|
|
pango
|
|
|
|
wxGTK
|
|
|
|
];
|
2017-03-05 16:38:18 +01:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2021-04-27 16:58:55 +02:00
|
|
|
homepage = "http://wxsvg.sourceforge.net/";
|
2017-03-05 16:38:18 +01:00
|
|
|
description = "A SVG manipulation library built with wxWidgets";
|
|
|
|
longDescription = ''
|
2021-04-27 16:58:55 +02:00
|
|
|
wxSVG is C++ library to create, manipulate and render Scalable Vector
|
|
|
|
Graphics (SVG) files with the wxWidgets toolkit.
|
2017-03-05 16:38:18 +01:00
|
|
|
'';
|
2021-04-27 16:58:55 +02:00
|
|
|
license = with licenses; gpl2Plus;
|
2017-03-05 16:38:18 +01:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2021-04-27 16:58:55 +02:00
|
|
|
platforms = wxGTK.meta.platforms;
|
2017-03-05 16:38:18 +01:00
|
|
|
};
|
|
|
|
}
|