2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config, wxGTK
|
2020-06-07 13:39:09 +01:00
|
|
|
, ffmpeg_3, libexif
|
2017-03-05 15:38:18 +00:00
|
|
|
, cairo, pango }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "wxSVG";
|
2017-03-05 15:38:18 +00:00
|
|
|
srcName = "wxsvg-${version}";
|
2020-01-30 17:04:30 +00:00
|
|
|
version = "1.5.22";
|
2017-03-05 15:38:18 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/${srcName}.tar.bz2";
|
2020-01-30 17:04:30 +00:00
|
|
|
sha256 = "0agmmwg0zlsw1idygvqjpj1nk41akzlbdha0hsdk1k8ckz6niq8d";
|
2017-03-05 15:38:18 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-03-05 15:38:18 +00:00
|
|
|
|
2020-06-07 13:39:09 +01:00
|
|
|
propagatedBuildInputs = [ wxGTK ffmpeg_3 libexif ];
|
2017-03-05 15:38:18 +00:00
|
|
|
|
|
|
|
buildInputs = [ cairo pango ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-03-05 15:38:18 +00:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://wxsvg.sourceforge.net/";
|
2017-03-05 15:38:18 +00:00
|
|
|
license = with licenses; gpl2;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|