2018-06-01 23:01:37 +01:00
{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
2018-06-20 17:54:42 +01:00
, fixDarwinDylibNames
2018-07-18 00:10:54 +01:00
, python3
2018-06-01 23:01:37 +01:00
} :
2006-07-08 13:19:24 +01:00
2011-03-20 14:54:39 +00:00
stdenv . mkDerivation rec {
2018-06-01 23:01:37 +01: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-07-18 00:10:54 +01:00
outputs = [ " o u t " " d e v d o c " ] ;
2018-06-01 23:01:37 +01: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-07-18 00:10:54 +01:00
postPatch = ''
patchShebangs test
'' ;
2018-06-01 23:01:37 +01:00
nativeBuildInputs = [ meson ninja pkgconfig ] ;
2018-06-20 17:54:42 +01:00
buildInputs = stdenv . lib . optional stdenv . isDarwin fixDarwinDylibNames ;
2015-12-23 01:59:47 +00:00
2018-07-18 00:10:54 +01:00
checkInptus = [ python3 ] ;
2016-09-15 09:39:29 +01:00
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 = " 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 18:50:55 +01:00
platforms = platforms . unix ;
2006-07-08 13:19:24 +01:00
} ;
}