2021-08-22 07:53:02 +00:00
|
|
|
{ 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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "emf2svg-conv";
|
2021-08-22 07:53:02 +00:00
|
|
|
homepage = "https://github.com/kakwa/libemf2svg";
|
|
|
|
maintainers = with maintainers; [ erdnaxe ];
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|