about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libraqm
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libraqm')
-rw-r--r--nixpkgs/pkgs/development/libraries/libraqm/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libraqm/default.nix b/nixpkgs/pkgs/development/libraries/libraqm/default.nix
new file mode 100644
index 000000000000..4ce422858f5b
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libraqm/default.nix
@@ -0,0 +1,36 @@
+{ 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 = "A library for complex text layout";
+    homepage = "https://github.com/HOST-Oman/libraqm";
+    license = licenses.mit;
+    maintainers = with maintainers; [ sifmelcara ];
+    platforms = platforms.all;
+  };
+}