2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2013-09-28 00:00:17 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libunibreak";
|
2020-08-21 12:14:49 -07:00
|
|
|
version = "4.3";
|
2013-09-28 00:00:17 -07:00
|
|
|
|
2020-08-21 12:14:49 -07:00
|
|
|
src = let
|
2021-01-21 09:00:13 -08:00
|
|
|
rev_version = lib.replaceStrings ["."] ["_"] version;
|
2020-08-21 12:14:49 -07:00
|
|
|
in fetchFromGitHub {
|
|
|
|
owner = "adah1972";
|
|
|
|
repo = pname;
|
|
|
|
rev = "libunibreak_${rev_version}";
|
|
|
|
sha256 = "19g3ixs1ycisfdnzd8v7j5r49h0x0hshchk9qwlz4i0mjv825plx";
|
2013-09-28 00:00:17 -07:00
|
|
|
};
|
|
|
|
|
2020-08-21 12:14:49 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2020-08-21 12:14:49 -07:00
|
|
|
homepage = "https://github.com/adah1972/libunibreak";
|
|
|
|
description = "Implementation of line breaking and word breaking algorithms as in the Unicode standard";
|
2013-11-09 08:46:54 -08:00
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.unix;
|
2014-04-23 05:26:16 -07:00
|
|
|
maintainers = [ maintainers.coroa ];
|
2013-09-28 00:00:17 -07:00
|
|
|
};
|
|
|
|
}
|