parent
5495d6d2b2
commit
5eefe24c94
|
@ -1,34 +1,43 @@
|
||||||
{ lib, stdenv, fetchurl
|
{ lib
|
||||||
, pkg-config, wxGTK
|
, stdenv
|
||||||
, ffmpeg_3, libexif
|
, fetchurl
|
||||||
, cairo, pango }:
|
, cairo
|
||||||
|
, ffmpeg
|
||||||
|
, libexif
|
||||||
|
, pango
|
||||||
|
, pkg-config
|
||||||
|
, wxGTK
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
pname = "wxSVG";
|
pname = "wxSVG";
|
||||||
srcName = "wxsvg-${version}";
|
|
||||||
version = "1.5.22";
|
version = "1.5.22";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/${srcName}.tar.bz2";
|
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/wxsvg-${version}.tar.bz2";
|
||||||
sha256 = "0agmmwg0zlsw1idygvqjpj1nk41akzlbdha0hsdk1k8ckz6niq8d";
|
hash = "sha256-DeFozZ8MzTCbhkDBtuifKpBpg7wS7+dbDFzTDx6v9Sk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
propagatedBuildInputs = [ wxGTK ffmpeg_3 libexif ];
|
];
|
||||||
|
buildInputs = [
|
||||||
buildInputs = [ cairo pango ];
|
cairo
|
||||||
|
ffmpeg
|
||||||
|
libexif
|
||||||
|
pango
|
||||||
|
wxGTK
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
homepage = "http://wxsvg.sourceforge.net/";
|
||||||
description = "A SVG manipulation library built with wxWidgets";
|
description = "A SVG manipulation library built with wxWidgets";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
wxSVG is C++ library to create, manipulate and render
|
wxSVG is C++ library to create, manipulate and render Scalable Vector
|
||||||
Scalable Vector Graphics (SVG) files with the wxWidgets toolkit.
|
Graphics (SVG) files with the wxWidgets toolkit.
|
||||||
'';
|
'';
|
||||||
homepage = "http://wxsvg.sourceforge.net/";
|
license = with licenses; gpl2Plus;
|
||||||
license = with licenses; gpl2;
|
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = with platforms; linux;
|
platforms = wxGTK.meta.platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue