blob: 2e7e7e62180eef68c16950e1df0ba848d486df54 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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 ];
};
})
|