7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
36 lines
705 B
Nix
36 lines
705 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, meson
|
|
, ninja
|
|
, freetype
|
|
, harfbuzz
|
|
, fribidi
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libraqm";
|
|
version = "0.10.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "HOST-Oman";
|
|
repo = "libraqm";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-KhGE66GS5rIieVXJUFA3jSsXEpbdnzN0VIAF/zOelU4=";
|
|
};
|
|
|
|
buildInputs = [ freetype harfbuzz fribidi ];
|
|
|
|
nativeBuildInputs = [ pkg-config meson ninja ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Library for complex text layout";
|
|
homepage = "https://github.com/HOST-Oman/libraqm";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sifmelcara ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|