Merge pull request #134813 from erdnaxe/libvisio2svg

This commit is contained in:
Sandro 2021-08-19 19:03:05 +02:00 committed by GitHub
commit 7593bc8595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, fontconfig
, freetype
, libpng
}:
stdenv.mkDerivation rec {
pname = "libemf2svg";
version = "1.1.0";
src = fetchFromGitHub {
owner = "kakwa";
repo = pname;
rev = version;
sha256 = "04g6dp5xadszqjyjl162x26mfhhwinia65hbkl3mv70bs4an9898";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ fontconfig freetype libpng ];
meta = with lib; {
description = "Microsoft EMF to SVG conversion library";
homepage = "https://github.com/kakwa/libemf2svg";
maintainers = with maintainers; [ erdnaxe ];
license = licenses.gpl2Only;
platforms = [ "x86_64-linux" ];
};
}

View file

@ -0,0 +1,34 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, freetype
, libemf2svg
, librevenge
, libvisio
, libwmf
, libxml2
}:
stdenv.mkDerivation rec {
pname = "libvisio2svg";
version = "0.5.5";
src = fetchFromGitHub {
owner = "kakwa";
repo = pname;
rev = version;
sha256 = "14m37mmib1596c76j9w178jqhwxyih2sy5w5q9xglh8cmlfn1hfx";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libxml2 freetype librevenge libvisio libwmf libemf2svg ];
meta = with lib; {
description = "Library and tools to convert Microsoft Visio documents (VSS and VSD) to SVG";
homepage = "https://github.com/kakwa/libvisio2svg";
maintainers = with maintainers; [ erdnaxe ];
license = licenses.gpl2Only;
platforms = [ "x86_64-linux" ];
};
}

View file

@ -16758,6 +16758,8 @@ with pkgs;
libechonest = callPackage ../development/libraries/libechonest { };
libemf2svg = callPackage ../development/libraries/libemf2svg { };
libev = callPackage ../development/libraries/libev { };
libevent = callPackage ../development/libraries/libevent { };
@ -17485,6 +17487,8 @@ with pkgs;
libvisio = callPackage ../development/libraries/libvisio { };
libvisio2svg = callPackage ../development/libraries/libvisio2svg { };
libvisual = callPackage ../development/libraries/libvisual { };
libvmaf = callPackage ../development/libraries/libvmaf { };