1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 name = "fribidi-${version}";
5 version = "0.19.7";
6
7 src = fetchFromGitHub {
8 owner = "fribidi";
9 repo = "fribidi";
10 rev = version;
11 sha256 = "10q5jfch5qzrj2w4fbkr086ank66plx8hp7ra9a01irj80pbk96d";
12 };
13
14 nativeBuildInputs = [ autoreconfHook pkgconfig ];
15
16 # Configure script checks for glib, but it is only used for tests.
17
18 outputs = [ "out" "devdoc" ];
19
20 meta = with stdenv.lib; {
21 homepage = https://github.com/fribidi/fribidi;
22 description = "GNU implementation of the Unicode Bidirectional Algorithm (bidi)";
23 license = licenses.lgpl21;
24 platforms = platforms.unix;
25 };
26}