2017-12-15 23:04:53 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig }:
|
2006-07-08 13:19:24 +01:00
|
|
|
|
2011-03-20 14:54:39 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "fribidi-${version}";
|
2018-06-01 18:38:09 +01:00
|
|
|
version = "1.0.3";
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2017-12-15 23:04:53 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fribidi";
|
|
|
|
repo = "fribidi";
|
2018-06-01 18:38:09 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "02483nscxc695j9b92clcdf0xb7xkfjry09kqdkkhkzl3vdcj039";
|
2009-03-10 17:24:15 +00:00
|
|
|
};
|
|
|
|
|
2018-06-01 18:38:09 +01:00
|
|
|
# FIXME: Please build with Meson after https://github.com/fribidi/fribidi/issues/79 solved
|
2017-12-15 23:04:53 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
|
|
|
|
# Configure script checks for glib, but it is only used for tests.
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2016-09-15 09:39:29 +01:00
|
|
|
outputs = [ "out" "devdoc" ];
|
|
|
|
|
2014-09-25 16:51:05 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-12-15 23:04:53 +00:00
|
|
|
homepage = https://github.com/fribidi/fribidi;
|
2009-03-10 17:24:15 +00:00
|
|
|
description = "GNU implementation of the Unicode Bidirectional Algorithm (bidi)";
|
2017-12-15 23:04:53 +00:00
|
|
|
license = licenses.lgpl21;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2006-07-08 13:19:24 +01:00
|
|
|
};
|
|
|
|
}
|