mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-28 16:10:17 +02:00
Merge pull request #134813 from erdnaxe/libvisio2svg
This commit is contained in:
commit
7593bc8595
31
pkgs/development/libraries/libemf2svg/default.nix
Normal file
31
pkgs/development/libraries/libemf2svg/default.nix
Normal 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" ];
|
||||
};
|
||||
}
|
34
pkgs/development/libraries/libvisio2svg/default.nix
Normal file
34
pkgs/development/libraries/libvisio2svg/default.nix
Normal 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" ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue