depot/third_party/nixpkgs/pkgs/development/libraries/libemf2svg/default.nix
Default email 619d6dcc77 Project import generated by Copybara.
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
2021-08-22 09:53:02 +02:00

31 lines
652 B
Nix

{ 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" ];
};
}