Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchFromGitHub 4, pkg-config 5, meson 6, ninja 7, freetype 8, harfbuzz 9, fribidi 10}: 11 12stdenv.mkDerivation rec { 13 pname = "libraqm"; 14 version = "0.10.1"; 15 16 src = fetchFromGitHub { 17 owner = "HOST-Oman"; 18 repo = "libraqm"; 19 rev = "v${version}"; 20 sha256 = "sha256-H9W+7Mob3o5ctxfp5UhIxatSdXqqvkpyEibJx9TO7a8="; 21 }; 22 23 buildInputs = [ freetype harfbuzz fribidi ]; 24 25 nativeBuildInputs = [ pkg-config meson ninja ]; 26 27 doCheck = true; 28 29 meta = with lib; { 30 description = "A library for complex text layout"; 31 homepage = "https://github.com/HOST-Oman/libraqm"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ sifmelcara ]; 34 platforms = platforms.all; 35 }; 36}