nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 48 lines 987 B view raw
1{ lib 2, stdenv 3, fetchurl 4, cairo 5, ffmpeg 6, libexif 7, pango 8, pkg-config 9, wxGTK 10, darwin 11}: 12 13let 14 inherit (darwin.apple_sdk.frameworks) Cocoa; 15in 16stdenv.mkDerivation rec { 17 pname = "wxSVG"; 18 version = "1.5.24"; 19 20 src = fetchurl { 21 url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/wxsvg-${version}.tar.bz2"; 22 hash = "sha256-rkcykfjQpf6voGzScMgmxr6tS86yud1vzs8tt8JeJII="; 23 }; 24 25 nativeBuildInputs = [ 26 pkg-config 27 ]; 28 29 buildInputs = [ 30 cairo 31 ffmpeg 32 libexif 33 pango 34 wxGTK 35 ] ++ lib.optional stdenv.isDarwin Cocoa; 36 37 meta = with lib; { 38 homepage = "https://wxsvg.sourceforge.net/"; 39 description = "A SVG manipulation library built with wxWidgets"; 40 longDescription = '' 41 wxSVG is C++ library to create, manipulate and render Scalable Vector 42 Graphics (SVG) files with the wxWidgets toolkit. 43 ''; 44 license = licenses.gpl2Plus; 45 maintainers = [ maintainers.AndersonTorres ]; 46 inherit (wxGTK.meta) platforms; 47 }; 48}