nixpkgs/pkgs/by-name/li/libraqm/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
705 B
Nix
Raw Normal View History

2023-07-31 06:24:22 +00:00
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, freetype
, harfbuzz
, fribidi
}:
stdenv.mkDerivation rec {
pname = "libraqm";
2024-09-23 01:18:13 +00:00
version = "0.10.2";
2023-07-31 06:24:22 +00:00
src = fetchFromGitHub {
owner = "HOST-Oman";
repo = "libraqm";
rev = "v${version}";
2024-09-23 01:18:13 +00:00
sha256 = "sha256-KhGE66GS5rIieVXJUFA3jSsXEpbdnzN0VIAF/zOelU4=";
2023-07-31 06:24:22 +00:00
};
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;
};
}