2018-06-01 22:01:37 +00:00
{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
2018-06-20 16:54:42 +00:00
, fixDarwinDylibNames
2018-06-01 22:01:37 +00:00
} :
2006-07-08 12:19:24 +00:00
2011-03-20 14:54:39 +00:00
stdenv . mkDerivation rec {
2018-06-01 22:01:37 +00:00
name = " ${ pname } - ${ version } " ;
pname = " f r i b i d i " ;
version = " 1 . 0 . 4 " ;
2015-12-23 01:59:47 +00:00
2018-06-01 22:01:37 +00:00
# NOTE: 2018-06-06 v1.0.4: Only URL tarball has "Have pre-generated man pages: true", which works-around upstream usage of some rare ancient `c2man` fossil application.
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / ${ pname } / ${ pname } / r e l e a s e s / d o w n l o a d / v ${ version } / ${ name } . t a r . b z 2 " ;
sha256 = " 1 g i p y 8 f j y n 6 i 4 q r h i m a 0 2 x 8 x s 4 9 3 d 2 1 f 2 2 d i j p 8 8 n k 8 0 7 r a z x g c l " ;
2009-03-10 17:24:15 +00:00
} ;
2018-06-01 22:01:37 +00:00
nativeBuildInputs = [ meson ninja pkgconfig ] ;
2018-06-20 16:54:42 +00:00
buildInputs = stdenv . lib . optional stdenv . isDarwin fixDarwinDylibNames ;
2015-12-23 01:59:47 +00:00
2016-09-15 08:39:29 +00:00
outputs = [ " o u t " " d e v d o c " ] ;
2014-09-25 15:51:05 +00: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 = " G N U i m p l e m e n t a t i o n o f t h e U n i c o d e B i d i r e c t i o n a l A l g o r i t h m ( b i d i ) " ;
2017-12-15 23:04:53 +00:00
license = licenses . lgpl21 ;
2016-08-02 17:50:55 +00:00
platforms = platforms . unix ;
2006-07-08 12:19:24 +00:00
} ;
}