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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
945 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, cairo
, ffmpeg
, libexif
, pango
, pkg-config
, wxGTK
2022-06-16 02:14:17 +00:00
# darwin deps
, Cocoa
}:
2017-03-05 15:38:18 +00:00
stdenv.mkDerivation rec {
pname = "wxSVG";
2021-11-18 20:43:32 +00:00
version = "1.5.23";
2017-03-05 15:38:18 +00:00
src = fetchurl {
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/wxsvg-${version}.tar.bz2";
2021-11-18 20:43:32 +00:00
hash = "sha256-Pwc2H6zH0YzBmpQN1zx4FC7V7sOMFNmTqFvwwGHcq7k=";
2017-03-05 15:38:18 +00:00
};
nativeBuildInputs = [
pkg-config
];
2021-11-18 20:43:32 +00:00
buildInputs = [
cairo
ffmpeg
libexif
pango
wxGTK
2022-06-16 02:14:17 +00:00
] ++ lib.optional stdenv.isDarwin Cocoa;
2017-03-05 15:38:18 +00:00
meta = with lib; {
homepage = "http://wxsvg.sourceforge.net/";
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.
2017-03-05 15:38:18 +00:00
'';
2022-06-16 02:14:17 +00:00
license = licenses.gpl2Plus;
maintainers = [ maintainers.AndersonTorres ];
inherit (wxGTK.meta) platforms;
2017-03-05 15:38:18 +00:00
};
}