nixpkgs/pkgs/development/libraries/wxSVG/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

35 lines
927 B
Nix

{ stdenv, fetchurl
, pkg-config, wxGTK
, ffmpeg_3, libexif
, cairo, pango }:
stdenv.mkDerivation rec {
pname = "wxSVG";
srcName = "wxsvg-${version}";
version = "1.5.22";
src = fetchurl {
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/${srcName}.tar.bz2";
sha256 = "0agmmwg0zlsw1idygvqjpj1nk41akzlbdha0hsdk1k8ckz6niq8d";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ wxGTK ffmpeg_3 libexif ];
buildInputs = [ cairo pango ];
meta = with stdenv.lib; {
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.
'';
homepage = "http://wxsvg.sourceforge.net/";
license = with licenses; gpl2;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; linux;
};
}