nixpkgs/pkgs/development/libraries/wxSVG/default.nix

44 lines
898 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, cairo
, ffmpeg
, libexif
, pango
, pkg-config
, wxGTK
}:
2017-03-05 16:38:18 +01:00
stdenv.mkDerivation rec {
pname = "wxSVG";
2020-01-30 18:04:30 +01:00
version = "1.5.22";
2017-03-05 16:38:18 +01:00
src = fetchurl {
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/wxsvg-${version}.tar.bz2";
hash = "sha256-DeFozZ8MzTCbhkDBtuifKpBpg7wS7+dbDFzTDx6v9Sk=";
2017-03-05 16:38:18 +01:00
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
cairo
ffmpeg
libexif
pango
wxGTK
];
2017-03-05 16:38:18 +01:00
meta = with lib; {
homepage = "http://wxsvg.sourceforge.net/";
2017-03-05 16:38:18 +01: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.
2017-03-05 16:38:18 +01:00
'';
license = with licenses; gpl2Plus;
2017-03-05 16:38:18 +01:00
maintainers = with maintainers; [ AndersonTorres ];
platforms = wxGTK.meta.platforms;
2017-03-05 16:38:18 +01:00
};
}