mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
49 lines
965 B
Nix
49 lines
965 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
freetype,
|
|
libemf2svg,
|
|
librevenge,
|
|
libvisio,
|
|
libwmf,
|
|
libxml2,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libvisio2svg";
|
|
version = "0.5.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kakwa";
|
|
repo = "libvisio2svg";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-Qpkt7HyicK1lGVrXkcaHabXkIwUhEKUAc84rGmbHE/E=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [
|
|
libxml2
|
|
freetype
|
|
librevenge
|
|
libvisio
|
|
libwmf
|
|
libemf2svg
|
|
];
|
|
|
|
cmakeFlags = [
|
|
# file RPATH_CHANGE could not write new RPATH
|
|
"-DCMAKE_SKIP_BUILD_RPATH=ON"
|
|
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
|
];
|
|
|
|
meta = {
|
|
description = "Library and tools to convert Microsoft Visio documents (VSS and VSD) to SVG";
|
|
homepage = "https://github.com/kakwa/libvisio2svg";
|
|
maintainers = with lib.maintainers; [ erdnaxe ];
|
|
license = lib.licenses.gpl2Only;
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
})
|