depot/third_party/nixpkgs/pkgs/development/libraries/libraqm/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

36 lines
705 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, freetype
, harfbuzz
, fribidi
}:
stdenv.mkDerivation rec {
pname = "libraqm";
version = "0.10.1";
src = fetchFromGitHub {
owner = "HOST-Oman";
repo = "libraqm";
rev = "v${version}";
sha256 = "sha256-H9W+7Mob3o5ctxfp5UhIxatSdXqqvkpyEibJx9TO7a8=";
};
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;
};
}