opentype-sanitizer: init at 9.1.0

This commit is contained in:
Dan Callaghan 2023-11-26 09:19:10 +11:00
parent 16fc4bb760
commit 4b7e6a6341
No known key found for this signature in database
GPG key ID: 26B5AA2FDAF2F30A

View file

@ -0,0 +1,44 @@
{ lib
, stdenv
, fetchFromGitHub
, freetype
, gtest
, lz4
, meson
, ninja
, pkg-config
, woff2
}:
stdenv.mkDerivation (finalAttrs: {
pname = "opentype-sanitizer";
version = "9.1.0";
src = fetchFromGitHub {
owner = "khaledhosny";
repo = "ots";
rev = "v${finalAttrs.version}";
hash = "sha256-gsNMPNPcfHyOgjJnIrJ5tLYHbCfIfTowEhcaGOUPb2Q=";
};
buildInputs = [
freetype
gtest
lz4
woff2
];
nativeBuildInputs = [
meson
ninja
pkg-config
];
doCheck = true;
meta = with lib; {
description = "Sanitizing parser for OpenType fonts";
homepage = "https://github.com/khaledhosny/ots";
license = licenses.bsd3;
maintainers = with maintainers; [ danc86 ];
};
})