opentype-sanitizer: init at 9.1.0
This commit is contained in:
parent
16fc4bb760
commit
4b7e6a6341
1 changed files with 44 additions and 0 deletions
44
pkgs/by-name/op/opentype-sanitizer/package.nix
Normal file
44
pkgs/by-name/op/opentype-sanitizer/package.nix
Normal 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 ];
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue