mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
5eefe24c94
And refactor.
44 lines
898 B
Nix
44 lines
898 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, cairo
|
|
, ffmpeg
|
|
, libexif
|
|
, pango
|
|
, pkg-config
|
|
, wxGTK
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wxSVG";
|
|
version = "1.5.22";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/wxsvg-${version}.tar.bz2";
|
|
hash = "sha256-DeFozZ8MzTCbhkDBtuifKpBpg7wS7+dbDFzTDx6v9Sk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
cairo
|
|
ffmpeg
|
|
libexif
|
|
pango
|
|
wxGTK
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://wxsvg.sourceforge.net/";
|
|
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.
|
|
'';
|
|
license = with licenses; gpl2Plus;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
platforms = wxGTK.meta.platforms;
|
|
};
|
|
}
|