From 89e61c9812eb849797cda3e373e85e57fc353186 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Thu, 19 Aug 2021 16:52:59 +0200 Subject: [PATCH] libemf2svg: init at 1.1.0 --- .../libraries/libemf2svg/default.nix | 31 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/libraries/libemf2svg/default.nix diff --git a/pkgs/development/libraries/libemf2svg/default.nix b/pkgs/development/libraries/libemf2svg/default.nix new file mode 100644 index 000000000000..4bb7caa02615 --- /dev/null +++ b/pkgs/development/libraries/libemf2svg/default.nix @@ -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" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b72f062a14e8..11e531637301 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16756,6 +16756,8 @@ with pkgs; libechonest = callPackage ../development/libraries/libechonest { }; + libemf2svg = callPackage ../development/libraries/libemf2svg { }; + libev = callPackage ../development/libraries/libev { }; libevent = callPackage ../development/libraries/libevent { };